Look and feel changes

This commit is contained in:
2017-11-27 11:39:50 +00:00
parent 64d46c961b
commit 4add211375
3 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
*~
*.o
nclock

BIN
nclock

Binary file not shown.

View File

@@ -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);