diff options
author | jkh <jkh@FreeBSD.org> | 1997-01-29 22:35:05 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-01-29 22:35:05 +0000 |
commit | d81f278ab499fe210ce54d4619e7d0493e7dc5ef (patch) | |
tree | 7d7cf45a979cbefc53c292e7c179cbf345102660 /usr.sbin/sysinstall/termcap.c | |
parent | 637e1706b92463dec23a7206b05852bd855c8e65 (diff) | |
download | FreeBSD-src-d81f278ab499fe210ce54d4619e7d0493e7dc5ef.zip FreeBSD-src-d81f278ab499fe210ce54d4619e7d0493e7dc5ef.tar.gz |
Allow user to delete as well as install packages from the package
installer menu.
Fix status line code so informationals show up properly again.
Diffstat (limited to 'usr.sbin/sysinstall/termcap.c')
-rw-r--r-- | usr.sbin/sysinstall/termcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/termcap.c b/usr.sbin/sysinstall/termcap.c index 4b93f1e..a72c0a4 100644 --- a/usr.sbin/sysinstall/termcap.c +++ b/usr.sbin/sysinstall/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; } |