diff options
Diffstat (limited to 'usr.sbin/sade/termcap.c')
| -rw-r--r-- | usr.sbin/sade/termcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/termcap.c b/usr.sbin/sade/termcap.c index 4b93f1e1fc3d..a72c0a4a3fb3 100644 --- a/usr.sbin/sade/termcap.c +++ b/usr.sbin/sade/termcap.c @@ -77,6 +77,6 @@ set_termcap(void) msgDebug("Unable to get terminal size - errno %d\n", errno); ts.ts_lines = 0; } - StatusLine = ts.ts_lines ? ts.ts_lines : (OnVTY ? VTY_STATUS_LINE : TTY_STATUS_LINE); + StatusLine = ts.ts_lines ? ts.ts_lines - 1: (OnVTY ? VTY_STATUS_LINE : TTY_STATUS_LINE); return 0; } |
