diff options
| author | dam <devnull@localhost> | 2024-02-09 01:18:03 +0000 |
|---|---|---|
| committer | dam <devnull@localhost> | 2024-02-09 01:18:03 +0000 |
| commit | e8ddaf3289a836c10f45b1b8c019922a99393488 (patch) | |
| tree | e96b77b0764e6ef1fdcf877cc1f7703d7f9e804c /ttt.jai | |
| parent | 0e9f04df9c1804b73baecdf4c3ad14fff977e2f1 (diff) | |
| download | task-time-tracker-e8ddaf3289a836c10f45b1b8c019922a99393488.tar.zst task-time-tracker-e8ddaf3289a836c10f45b1b8c019922a99393488.zip | |
Reimplemented procedure to read input.
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; { |
