From b71dbc057a11fbbc67c365f8664e53facb0b3a3c Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 9 Sep 2004 22:51:50 +0000 Subject: fix screen update at slow terminals --- watch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/watch.c b/watch.c index d7c6e2c..861b708 100644 --- a/watch.c +++ b/watch.c @@ -24,7 +24,7 @@ static const char copyright[] = "@(#) Copyright (c) 2003, 2004 demon \n"; static const char rcsid[] = "$Id$"; -static const char version[] = "0.6.1"; +static const char version[] = "0.6.2"; #include #include @@ -172,7 +172,7 @@ display(int ignored) FILE *pipe; (void) ignored; - clear(); + move(0,0); if (f_notitle == 0) { title(); @@ -186,6 +186,7 @@ display(int ignored) mvaddstr(line_count++, 0, output); } pclose(pipe); + clrtobot(); refresh(); } -- cgit v1.2.3