summaryrefslogtreecommitdiffstats
path: root/mbbsd/term.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-25 03:43:07 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-25 03:43:07 +0800
commit66ef2c085317e18a704cfbe7e98f2b448ca58e16 (patch)
tree7c7689bb97f1f4528b402939a84e0876611dfe7f /mbbsd/term.c
parent09e684d5aecd13df3c8b226306ca41c10c27f242 (diff)
downloadpttbbs-66ef2c085317e18a704cfbe7e98f2b448ca58e16.tar
pttbbs-66ef2c085317e18a704cfbe7e98f2b448ca58e16.tar.gz
pttbbs-66ef2c085317e18a704cfbe7e98f2b448ca58e16.tar.bz2
pttbbs-66ef2c085317e18a704cfbe7e98f2b448ca58e16.tar.lz
pttbbs-66ef2c085317e18a704cfbe7e98f2b448ca58e16.tar.xz
pttbbs-66ef2c085317e18a704cfbe7e98f2b448ca58e16.tar.zst
pttbbs-66ef2c085317e18a704cfbe7e98f2b448ca58e16.zip
turn on full screen support if shell login.
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@492 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/term.c')
-rw-r--r--mbbsd/term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/term.c b/mbbsd/term.c
index d329e8ba..e3efe3db 100644
--- a/mbbsd/term.c
+++ b/mbbsd/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.7 2002/08/24 19:15:24 kcwu Exp $ */
+/* $Id: term.c,v 1.8 2002/08/24 19:43:07 kcwu Exp $ */
#include "bbs.h"
int tgetent(const char *bp, char *name);
@@ -71,7 +71,7 @@ term_resize(int sig)
big_picture = new_picture;
}
t_lines = newsize.ws_row;
- scr_lns = t_lines;
+ scr_lns = t_lines; /* XXX: scr_lns 跟 t_lines 有什麼不同, 為何分成兩個 */
b_lines = t_lines - 1;
p_lines = t_lines - 4;