diff options
Diffstat (limited to 'pw.c')
-rw-r--r-- | pw.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -419,9 +419,6 @@ static unsigned redraw(char **circbuf, int nlines, unsigned hpos, unsigned hist, { int updln = 0; - if ((stat & stat_bkgnd)) - return stat; - if ((stat & (stat_dirty | stat_susp)) == stat_dirty && (stat & (stat_htmode | stat_trgrd)) != stat_htmode && (stat & (stat_ttmode | stat_trgrd)) != stat_ttmode) @@ -444,6 +441,9 @@ static unsigned redraw(char **circbuf, int nlines, unsigned hpos, unsigned hist, updln = 1; } + if ((stat & stat_bkgnd)) + return stat; + if (updln) { printf("\r\033[%dA", snaplines[hist]); if ((stat & stat_lino) == 0) { |