diff --git a/.gitignore b/.gitignore index d6ff91a..700e993 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *~ *.o +nclock diff --git a/nclock b/nclock index e854e74..417cd5e 100755 Binary files a/nclock and b/nclock differ diff --git a/nclock.c b/nclock.c index 3bf300e..21d864c 100644 --- a/nclock.c +++ b/nclock.c @@ -11,7 +11,12 @@ int main(int argc, char **argv) { /* enable ncurses standard screen */ initscr(); atexit(quitProgram); //cleanup at exit + /* Some look and feel changes */ + nonl(); //no newline + keypad(stdscr, FALSE); //Disable the F1-12 keypad + curs_set(0); //Disable the cursor + state s = {0}; initState(&s);