summaryrefslogtreecommitdiffhomepage
path: root/contrib/luacurses/src/test/getnstr.lua
blob: 172365ea902fe3c2cdb47925834926367772e21b (plain)
1
2
3
4
5
6
7
8
9
10
11
12

require("curses");

curses.initscr();

curses.keypad(curses.stdscr(), true);
s = curses.mvgetnstr(10, 10, 10);
curses.addstr(s);
curses.getch();

curses.endwin();