diff options
Diffstat (limited to 'lib/libcurses/EXAMPLES/ex1.c')
-rw-r--r-- | lib/libcurses/EXAMPLES/ex1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcurses/EXAMPLES/ex1.c b/lib/libcurses/EXAMPLES/ex1.c index 76da41b..e8a4e0f 100644 --- a/lib/libcurses/EXAMPLES/ex1.c +++ b/lib/libcurses/EXAMPLES/ex1.c @@ -47,7 +47,7 @@ static char sccsid[] = "@(#)ex1.c 8.1 (Berkeley) 6/4/93"; #include <signal.h> -#define YSIZE 10 +#define YSIZE 10 #define XSIZE 20 int quit(); @@ -65,7 +65,7 @@ main() crmode(); /* We want cbreak mode */ noecho(); /* We want to have control of chars */ delwin(stdscr); /* Create our own stdscr */ - stdscr = newwin(YSIZE, XSIZE, 10, 35); + stdscr = newwin(YSIZE, XSIZE, 10, 35); flushok(stdscr, TRUE); /* Enable flushing of stdout */ scrollok(stdscr, TRUE); /* Enable scrolling */ erase(); /* Initially, clear the screen */ @@ -107,6 +107,6 @@ quit() exit(0); } - - - + + + |