version 1.233, 2014/10/29 00:17:43 |
version 1.235, 2014/11/16 21:29:35 |
Line 254 term_flushln(struct termp *p) |
|
Line 254 term_flushln(struct termp *p) |
|
* If there was trailing white space, it was not printed; |
* If there was trailing white space, it was not printed; |
* so reset the cursor position accordingly. |
* so reset the cursor position accordingly. |
*/ |
*/ |
if (vis) |
if (vis > vbl) |
vis -= vbl; |
vis -= vbl; |
|
else |
|
vis = 0; |
|
|
p->col = 0; |
p->col = 0; |
p->overstep = 0; |
p->overstep = 0; |
Line 684 term_strlen(const struct termp *p, const char *cp) |
|
Line 686 term_strlen(const struct termp *p, const char *cp) |
|
|
|
switch (esc) { |
switch (esc) { |
case ESCAPE_UNICODE: |
case ESCAPE_UNICODE: |
uc = mchars_num2uc(seq + 1, sz - 1); |
uc = mchars_num2uc(seq + 1, ssz - 1); |
break; |
break; |
case ESCAPE_NUMBERED: |
case ESCAPE_NUMBERED: |
uc = mchars_num2char(seq, ssz); |
uc = mchars_num2char(seq, ssz); |