12 lines
165 B
Lua
12 lines
165 B
Lua
|
|
require("curses");
|
|
|
|
curses.initscr();
|
|
|
|
curses.keypad(curses.stdscr(), true);
|
|
s = curses.mvgetnstr(10, 10, 10);
|
|
curses.addstr(s);
|
|
curses.getch();
|
|
|
|
curses.endwin();
|
|
|