From dc421841e876bb44d10487c5107d5c931123afa2 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 26 Oct 2009 07:18:23 +0000 Subject: Fixed overstep patch. --- term.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'term.c') diff --git a/term.c b/term.c index 6540eced..ccc6bf1e 100644 --- a/term.c +++ b/term.c @@ -222,14 +222,15 @@ term_flushln(struct termp *p) } vis += vsz; } + p->col = 0; + overstep = 0; if ( ! (TERMP_NOBREAK & p->flags)) { putchar('\n'); return; } - overstep = 0; if (TERMP_HANG & p->flags) { /* We need one blank after the tag. */ overstep = /* LINTED */ -- cgit