diff options
author | Mark Peek <mp@FreeBSD.org> | 2002-05-06 00:25:36 +0000 |
---|---|---|
committer | Mark Peek <mp@FreeBSD.org> | 2002-05-06 00:25:36 +0000 |
commit | 802e753167dcb08abd1a25d816e9b41584b42c55 (patch) | |
tree | 1c41be822ff32bb938676a1040da2c07d57edb7b /usr.bin | |
parent | e86256c1f4decf982a065dd5e0283ca9f80ba050 (diff) | |
download | src-802e753167dcb08abd1a25d816e9b41584b42c55.tar.gz src-802e753167dcb08abd1a25d816e9b41584b42c55.zip |
- 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
Notes
Notes:
svn path=/head/; revision=96088
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ee/ee.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ee/ee.c b/usr.bin/ee/ee.c index 5491b97b1fe1..6caad25f53f7 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; } |