Make sure we actually take input!
authorEric S. Raymond <esr@thyrsus.com>
Fri, 28 Jan 2005 22:12:47 +0000 (22:12 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 28 Jan 2005 22:12:47 +0000 (22:12 +0000)
sst.c

diff --git a/sst.c b/sst.c
index 5cba52ea154cc675bc71f5a390360149e9bd4756..acef9841228ecf2f18b4f1b5568683a9b07bb210 100644 (file)
--- a/sst.c
+++ b/sst.c
@@ -300,15 +300,17 @@ static void makemoves(void) {
                         clrscr();
 #endif /* SERGEEV */
                        proutn("COMMAND> ");
-#ifdef SERGEEV
                         if (scan() == IHEOL) {
+#ifdef SERGEEV
                             _setcursortype(_NOCURSOR);
                             setwnd(4);
                             clrscr();
                             chart(0);
                             _setcursortype(_NORMALCURSOR);
+#endif /* SERGEEV */
                             continue;
                         }
+#ifdef SERGEEV
                         ididit=0;
                         clrscr();
                         setwnd(4);