summaryrefslogtreecommitdiffstats
path: root/usr.bin/talk
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-12-28 20:44:58 +0000
committerpeter <peter@FreeBSD.org>1996-12-28 20:44:58 +0000
commitab8678138f0c141673772290f9d470ab6205ece2 (patch)
tree03220ec9d2ed1deda64e4be35819278fa09bff2f /usr.bin/talk
parentf0bf3192e63752f3282a692cff4d505e7d332530 (diff)
downloadFreeBSD-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).
Diffstat (limited to 'usr.bin/talk')
-rw-r--r--usr.bin/talk/init_disp.c2
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);
OpenPOWER on IntegriCloud