summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-12-23 18:03:10 +0000
committeryar <yar@FreeBSD.org>2006-12-23 18:03:10 +0000
commitf3b0f3c65da4281656f97049f4bd4f6bdbab83b3 (patch)
tree5d552346dc2b82929f8901c6e3b87ca3a4eeca75
parent9729f09883a8c7873bbe4f9e5c12decfdbfba09c (diff)
downloadFreeBSD-src-f3b0f3c65da4281656f97049f4bd4f6bdbab83b3.zip
FreeBSD-src-f3b0f3c65da4281656f97049f4bd4f6bdbab83b3.tar.gz
Clear to EOL after the end of meter so that its reading can decrease.
-rw-r--r--usr.bin/systat/swap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c
index 21f457d..018a909 100644
--- a/usr.bin/systat/swap.c
+++ b/usr.bin/systat/swap.c
@@ -191,5 +191,6 @@ showswap()
waddch(wnd, ' ');
while (count--)
waddch(wnd, 'X');
+ wclrtoeol(wnd);
}
}
OpenPOWER on IntegriCloud