Enable idlok() in both windows. This is actually a no-op for libcurses

(which doesn't use the setting at all), but when linking with
recent versions of libncurses, ncurses screws up without it for some reason
(presumably a ncurses bug).
This commit is contained in:
Peter Wemm 1996-12-28 20:44:58 +00:00
parent 60bf5d130e
commit c3d9ef558c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20988

View File

@ -92,6 +92,7 @@ init_display()
my_win.x_nlines = LINES / 2;
my_win.x_ncols = COLS;
my_win.x_win = newwin(my_win.x_nlines, my_win.x_ncols, 0, 0);
idlok(my_win.x_win, TRUE);
scrollok(my_win.x_win, TRUE);
wclear(my_win.x_win);
@ -99,6 +100,7 @@ init_display()
his_win.x_ncols = COLS;
his_win.x_win = newwin(his_win.x_nlines, his_win.x_ncols,
my_win.x_nlines+1, 0);
idlok(my_win.x_win, TRUE);
scrollok(his_win.x_win, TRUE);
wclear(his_win.x_win);