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