diff options
Diffstat (limited to 'contrib/luacurses/test/getnstr.lua')
-rw-r--r-- | contrib/luacurses/test/getnstr.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/luacurses/test/getnstr.lua b/contrib/luacurses/test/getnstr.lua new file mode 100644 index 000000000..172365ea9 --- /dev/null +++ b/contrib/luacurses/test/getnstr.lua @@ -0,0 +1,12 @@ + +require("curses"); + +curses.initscr(); + +curses.keypad(curses.stdscr(), true); +s = curses.mvgetnstr(10, 10, 10); +curses.addstr(s); +curses.getch(); + +curses.endwin(); + |