version 1.31, 2009/03/04 14:13:05 |
version 1.32, 2009/03/04 14:41:40 |
Line 351 flushln(struct termp *p) |
|
Line 351 flushln(struct termp *p) |
|
*/ |
*/ |
|
|
if ((TERMP_NOBREAK & p->flags) && vis >= maxvis) { |
if ((TERMP_NOBREAK & p->flags) && vis >= maxvis) { |
putchar('\n'); |
if ( ! (TERMP_NONOBREAK & p->flags)) { |
for (i = 0; i < p->rmargin; i++) |
putchar('\n'); |
putchar(' '); |
for (i = 0; i < p->rmargin; i++) |
|
putchar(' '); |
|
} |
p->col = 0; |
p->col = 0; |
return; |
return; |
} |
} |
Line 363 flushln(struct termp *p) |
|
Line 365 flushln(struct termp *p) |
|
* pad to the right margin and stay off. |
* pad to the right margin and stay off. |
*/ |
*/ |
|
|
if (p->flags & TERMP_NOBREAK) |
if (p->flags & TERMP_NOBREAK) { |
for ( ; vis < maxvis; vis++) |
if ( ! (TERMP_NONOBREAK & p->flags)) |
putchar(' '); |
for ( ; vis < maxvis; vis++) |
else |
putchar(' '); |
|
} else |
putchar('\n'); |
putchar('\n'); |
|
|
p->col = 0; |
p->col = 0; |