From dfb085cc350631a451ba74ba64acda920ffa88d8 Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Fri, 21 Mar 2003 09:34:23 +0000 Subject: [PATCH] Call endwin() to restore terminal state just before exiting. Approved by: phk --- usr.sbin/gstat/gstat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/gstat/gstat.c b/usr.sbin/gstat/gstat.c index 6d3a6981be51..6c6c4ad20af5 100644 --- a/usr.sbin/gstat/gstat.c +++ b/usr.sbin/gstat/gstat.c @@ -228,5 +228,7 @@ main(int argc, char **argv) break; } } + + endwin(); exit (0); }