From 561909444972e4ff84d967215d1725d4908c1a3f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 1 Aug 2002 22:15:12 +0000 Subject: [PATCH] Make the cursor invisible. --- tet.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tet.c b/tet.c index 1629198..96fa1ce 100644 --- 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; } -- 2.43.0