From c3d9ef558cb5cf540fb264500c4744c34f2eec7a Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 28 Dec 1996 20:44:58 +0000 Subject: [PATCH] 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). --- usr.bin/talk/init_disp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/talk/init_disp.c b/usr.bin/talk/init_disp.c index 48c26140bf6f..7eded28f2183 100644 --- a/usr.bin/talk/init_disp.c +++ b/usr.bin/talk/init_disp.c @@ -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);