Look and feel changes
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
*~
|
*~
|
||||||
*.o
|
*.o
|
||||||
|
nclock
|
||||||
|
5
nclock.c
5
nclock.c
@@ -11,6 +11,11 @@ int main(int argc, char **argv) {
|
|||||||
/* enable ncurses standard screen */
|
/* enable ncurses standard screen */
|
||||||
initscr();
|
initscr();
|
||||||
atexit(quitProgram); //cleanup at exit
|
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};
|
state s = {0};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user