about summary refs log tree commit diff stats
path: root/src/LYCurses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCurses.c')
-rw-r--r--src/LYCurses.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/LYCurses.c b/src/LYCurses.c
index ffffcb1c..41a29cc4 100644
--- a/src/LYCurses.c
+++ b/src/LYCurses.c
@@ -575,6 +575,12 @@ PUBLIC void start_curses NOARGS
 
     if (slinit == 0) {
 	SLtt_get_terminfo();
+#ifdef UNIX
+#if SLANG_VERSION >= 9935
+	SLang_TT_Read_FD = fileno(stdin);
+#endif /* SLANG_VERSION >= 9935 */
+#endif /* UNIX */
+
 	/*
 	 *  Check whether a saved show_color:off override is in effect. - kw
 	 */