diff options
author | keramida <keramida@FreeBSD.org> | 2003-03-21 09:34:23 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2003-03-21 09:34:23 +0000 |
commit | 5b5eeab2fd8dc0ce4ccdf29ab0d72aff9250a38d (patch) | |
tree | c98e8663dc9a52a7fd7fca59fa29e12aff486c7c /usr.sbin/gstat | |
parent | 9df6e8e8d891bd74277427eb3c893b273d1ea56c (diff) | |
download | FreeBSD-src-5b5eeab2fd8dc0ce4ccdf29ab0d72aff9250a38d.zip FreeBSD-src-5b5eeab2fd8dc0ce4ccdf29ab0d72aff9250a38d.tar.gz |
Call endwin() to restore terminal state just before exiting.
Approved by: phk
Diffstat (limited to 'usr.sbin/gstat')
-rw-r--r-- | usr.sbin/gstat/gstat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/gstat/gstat.c b/usr.sbin/gstat/gstat.c index 6d3a698..6c6c4ad 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); } |