diff options
Diffstat (limited to 'ttt.jai')
| -rw-r--r-- | ttt.jai | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1239,6 +1239,11 @@ main :: () { // TODO Test input + { + TUI.test(); + exit(0); + } + if 1 { print("TEST : set and get cursor position --\n", to_standard_error = true); TUI.start(); @@ -1372,7 +1377,7 @@ main :: () { TUI.set_cursor_position(1, 1); print("Enter some text (use Enter to finish, Esc to cancel, or resize to abort):"); TUI.set_cursor_position(2, 1); - str, key := TUI.user_line_input(15); + str, key := TUI.read_input_line(15); TUI.set_cursor_position(3, 1); if key == { case TUI.Keys.Escape; { |
