summaryrefslogtreecommitdiffstats
path: root/usr.bin/ee
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2002-05-06 00:25:36 +0000
committermp <mp@FreeBSD.org>2002-05-06 00:25:36 +0000
commit2f1f47d1124047cf6d1d8fabde73157851738a6b (patch)
tree1c41be822ff32bb938676a1040da2c07d57edb7b /usr.bin/ee
parentc7465abaf7a3eb7da769656ea0fd2e07dd995017 (diff)
downloadFreeBSD-src-2f1f47d1124047cf6d1d8fabde73157851738a6b.zip
FreeBSD-src-2f1f47d1124047cf6d1d8fabde73157851738a6b.tar.gz
- Properly initialize the count_win when the user turns the info window
back on (and count_win is recreated). - Create info_win as the same size for all invocations. PR: 37552 Submitted by: Mark Valentine <mark@thuvia.demon.co.uk> MFC after: 1 week
Diffstat (limited to 'usr.bin/ee')
-rw-r--r--usr.bin/ee/ee.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ee/ee.c b/usr.bin/ee/ee.c
index 5491b97..6caad25 100644
--- a/usr.bin/ee/ee.c
+++ b/usr.bin/ee/ee.c
@@ -3686,12 +3686,15 @@ create_info_window()
idlok(text_win, TRUE);
werase(text_win);
info_window = TRUE;
- info_win = newwin(6, COLS, 0, 0);
+ info_win = newwin(5, COLS, 0, 0);
werase(info_win);
info_type = CONTROL_KEYS;
midscreen(min(scr_vert, last_line), point);
clearok(info_win, TRUE);
paint_info_win();
+ count_win = newwin(1, COLS, 5, 0);
+ leaveok(count_win, TRUE);
+ wrefresh(count_win);
wrefresh(text_win);
clear_com_win = TRUE;
}
OpenPOWER on IntegriCloud