diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-09-16 19:25:01 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-09-16 19:25:01 +0000 |
commit | 200160321f144628ca932af06e346a62bc906a80 (patch) | |
tree | a4d3a0ef0944a06f42974544c2330ad76afed900 /usr.bin | |
parent | a1e107f59cc92649dcf8ef0fdc6c9884ccee11ca (diff) |
small terminals are dumb
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/top/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/screen.c b/usr.bin/top/screen.c index d8322fe9011..d72dad1c4f0 100644 --- a/usr.bin/top/screen.c +++ b/usr.bin/top/screen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen.c,v 1.3 1997/08/24 18:37:47 millert Exp $ */ +/* $OpenBSD: screen.c,v 1.4 1997/09/16 19:25:00 weingart Exp $ */ /* * Top users/processes display for Unix @@ -121,7 +121,7 @@ int interactive; } /* set up common terminal capabilities */ - if ((screen_length = tgetnum("li")) <= 0) + if ((screen_length = tgetnum("li")) <= Header_lines) { screen_length = smart_terminal = 0; return; |