summaryrefslogtreecommitdiffstats
path: root/lib/libncurses
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-03 03:35:30 +0000
committerache <ache@FreeBSD.org>1994-12-03 03:35:30 +0000
commit4b914f4b4c9fa76cf117f9a408342f9b76312286 (patch)
treeb0914334989d7f55f2ca289385199a33d6bd553a /lib/libncurses
parent53a929e65ca35fc4d62ba126188e4b830f5abfeb (diff)
downloadFreeBSD-src-4b914f4b4c9fa76cf117f9a408342f9b76312286.zip
FreeBSD-src-4b914f4b4c9fa76cf117f9a408342f9b76312286.tar.gz
#ifdef out check for pending input, cause problems with
output-only pgms
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/lib_doupdate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libncurses/lib_doupdate.c b/lib/libncurses/lib_doupdate.c
index 4747691..9ef3667 100644
--- a/lib/libncurses/lib_doupdate.c
+++ b/lib/libncurses/lib_doupdate.c
@@ -126,6 +126,7 @@ sigaction_t act, oact;
SP->_endwin = FALSE;
}
+#if 0 /* Not works for output-only pgms */
/* check for pending input */
{
fd_set fdset;
@@ -138,6 +139,7 @@ sigaction_t act, oact;
return OK;
}
}
+#endif
if (curscr->_clear) { /* force refresh ? */
T(("clearing and updating curscr"));
OpenPOWER on IntegriCloud