diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-08-30 07:58:08 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-08-30 07:58:08 +0000 |
| commit | 99af2e21c73f07587da16d34eb6795f4a46cc5be (patch) | |
| tree | 5df591f7e443330146099aa76e2f474a81669ebf /lib/libncurses/TESTS/getch.c | |
| parent | 02e1576966f0a3b9300a7269c3e6894e62b1f3ba (diff) | |
Notes
Diffstat (limited to 'lib/libncurses/TESTS/getch.c')
| -rw-r--r-- | lib/libncurses/TESTS/getch.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/libncurses/TESTS/getch.c b/lib/libncurses/TESTS/getch.c deleted file mode 100644 index 90a0ee42178c..000000000000 --- a/lib/libncurses/TESTS/getch.c +++ /dev/null @@ -1,29 +0,0 @@ -#include <ncurses.h> - -main() - { - int c,i; - initscr(); - cbreak(); - noecho(); -#if 1 - wtimeout(stdscr,1000); -#endif - scrollok(stdscr,TRUE); - for (c='A';c<='Z';c++) - for (i=0;i<25;i++) - { - move(i,i); - addch(c); - refresh(); - } - move (0,0); - while ((c=wgetch(stdscr))!='A') - { - if (c == EOF) printw(">>wait for keypress<<"); - else printw(">>%c<<\n",c); - refresh(); - } - endwin(); - } - |
