flm01/openwrt/package/luci/contrib/luacurses/test/.svn/text-base/getnstr.lua.svn-base

13 lines
165 B
Plaintext
Raw Permalink Normal View History

require("curses");
curses.initscr();
curses.keypad(curses.stdscr(), true);
s = curses.mvgetnstr(10, 10, 10);
curses.addstr(s);
curses.getch();
curses.endwin();