]> thyrsus.com Git - tetrix.git/commitdiff
Make the cursor invisible.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 1 Aug 2002 22:15:12 +0000 (22:15 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 1 Aug 2002 22:15:12 +0000 (22:15 +0000)
tet.c

diff --git a/tet.c b/tet.c
index 1629198a0efd537905125f7b1919ba4b735a05b4..96fa1ced2f331559081c8ac9b2808134522086a7 100644 (file)
--- a/tet.c
+++ b/tet.c
@@ -103,6 +103,7 @@ Init()
        initscr();
 #ifdef KEY_MIN
        keypad(stdscr, TRUE);
+       curs_set(0);
 #endif /* KEY_MIN */
        nodelay(stdscr, TRUE);
        noecho();
@@ -264,6 +265,9 @@ Play()
                case QUIT_KEY:
                    CurrentPause = 0;
                case FALL_KEY:
+#ifdef KEY_MIN
+               case KEY_DOWN:
+#endif /* KEY_MIN */
                    FallingDown = 1;
                    UPSCORE(20-Row);
                    Pause = 0;
@@ -416,7 +420,7 @@ GetKey()
        top:
        if ((c = getch()) == ERR) 
                return;
-       else Key = (c & 0177); 
+       else Key = c;
        goto top;
 }