diff options
author | peter <peter@FreeBSD.org> | 1996-12-28 20:44:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-12-28 20:44:58 +0000 |
commit | ab8678138f0c141673772290f9d470ab6205ece2 (patch) | |
tree | 03220ec9d2ed1deda64e4be35819278fa09bff2f | |
parent | f0bf3192e63752f3282a692cff4d505e7d332530 (diff) | |
download | FreeBSD-src-ab8678138f0c141673772290f9d470ab6205ece2.zip FreeBSD-src-ab8678138f0c141673772290f9d470ab6205ece2.tar.gz |
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).
-rw-r--r-- | usr.bin/talk/init_disp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/talk/init_disp.c b/usr.bin/talk/init_disp.c index 48c2614..7eded28 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); |