diff options
Diffstat (limited to 'contrib/top/top.c')
-rw-r--r-- | contrib/top/top.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/top/top.c b/contrib/top/top.c index aaab027..50bc9b9 100644 --- a/contrib/top/top.c +++ b/contrib/top/top.c @@ -723,6 +723,10 @@ restart: if (!interactive) { sleep(delay); + if (leaveflag) { + end_screen(); + exit(0); + } } else while (no_command) { |