aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--watch.c5
1 files 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 <demon@vhost.dyndns.org>\n";
static const char rcsid[] =
"$Id$";
-static const char version[] = "0.6.1";
+static const char version[] = "0.6.2";
#include <sys/ioctl.h>
#include <sys/time.h>
@@ -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();
}