summaryrefslogtreecommitdiff
path: root/lib/libcurses/tinfo/lib_options.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-07-04 12:43:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-07-04 12:43:23 +0000
commit01b0050483992cef9885e072e5285a13414c45f2 (patch)
treea9f98382969b8cbc5123d9f9f0b60193f5b9c42e /lib/libcurses/tinfo/lib_options.c
parent3b9acfa9b1d0142a8988d1467b24822bac011e80 (diff)
ncurses-5.0-990703 -- better support for mixing termcap and terminfo/curses routines
Diffstat (limited to 'lib/libcurses/tinfo/lib_options.c')
-rw-r--r--lib/libcurses/tinfo/lib_options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/tinfo/lib_options.c b/lib/libcurses/tinfo/lib_options.c
index af3d67d0b2d..ed74b5d0269 100644
--- a/lib/libcurses/tinfo/lib_options.c
+++ b/lib/libcurses/tinfo/lib_options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lib_options.c,v 1.2 1999/02/24 06:31:11 millert Exp $ */
+/* $OpenBSD: lib_options.c,v 1.3 1999/07/04 12:43:16 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -46,7 +46,7 @@
#include <term.h> /* keypad_xmit, keypad_local, meta_on, meta_off */
/* cursor_visible,cursor_normal,cursor_invisible */
-MODULE_ID("$From: lib_options.c,v 1.34 1999/02/18 11:56:16 tom Exp $")
+MODULE_ID("$From: lib_options.c,v 1.35 1999/07/04 00:18:28 tom Exp $")
int idlok(WINDOW *win, bool flag)
{
@@ -255,7 +255,7 @@ int _nc_keypad(bool flag)
(void) fflush(SP->_ofp);
}
- if (!SP->_tried) {
+ if (flag && !SP->_tried) {
_nc_init_keytry();
SP->_tried = TRUE;
}