diff options
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -254,8 +254,10 @@ term_flushln(struct termp *p) * If there was trailing white space, it was not printed; * so reset the cursor position accordingly. */ - if (vis) + if (vis > vbl) vis -= vbl; + else + vis = 0; p->col = 0; p->overstep = 0; |