summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/TESTS/scroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libncurses/TESTS/scroll.c')
-rw-r--r--lib/libncurses/TESTS/scroll.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/libncurses/TESTS/scroll.c b/lib/libncurses/TESTS/scroll.c
deleted file mode 100644
index 428a064..0000000
--- a/lib/libncurses/TESTS/scroll.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <ncurses.h>
-
-main()
-{
-int i;
-
- initscr();
- noecho();
- scrollok(stdscr, TRUE);
- setscrreg(0, 9);
- mvaddstr(0,0,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
- mvaddstr(1,0,"bbbbbbbbbbbbbbbbbbbbbbbbbbbbb");
- mvaddstr(2,0,"ccccccccccccccccccccccccccccc");
- mvaddstr(3,0,"ddddddddddddddddddddddddddddd");
- mvaddstr(4,0,"eeeeeeeeeeeeeeeeeeeeeeeeeeeee");
- mvaddstr(5,0,"fffffffffffffffffffffffffffff");
- mvaddstr(6,0,"ggggggggggggggggggggggggggggg");
- mvaddstr(7,0,"hhhhhhhhhhhhhhhhhhhhhhhhhhhhh");
- mvaddstr(8,0,"iiiiiiiiiiiiiiiiiiiiiiiiiiiii");
- mvaddstr(9,0,"jjjjjjjjjjjjjjjjjjjjjjjjjjjjj");
- refresh();
- for (i = 0; i < 4; i++) {
- getch();
- scrl(-1);
- refresh();
- }
- getch();
- endwin();
-
-}
OpenPOWER on IntegriCloud