Look and feel changes
This commit is contained in:
5
nclock.c
5
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);
|
||||
|
Reference in New Issue
Block a user