diff options
| author | dam <dam@gudinoff> | 2024-03-29 01:18:46 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-03-29 01:18:46 +0000 |
| commit | bc5b1e651e17e97177af29762ef7d0558f83db89 (patch) | |
| tree | 55e3caca61eaf0f3f4a68a738e0fe222249774fc /ttt.jai | |
| parent | 10215fb3b2d5a178b8ab0419d58d30af3abab625 (diff) | |
| download | task-time-tracker-bc5b1e651e17e97177af29762ef7d0558f83db89.tar.zst task-time-tracker-bc5b1e651e17e97177af29762ef7d0558f83db89.zip | |
Fixed input echo on read_input_line.
Diffstat (limited to 'ttt.jai')
| -rw-r--r-- | ttt.jai | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1420,17 +1420,14 @@ main :: () { } TUI.stop(); } - - // BUG - // SECOND TIME CALLING TO read_input_line fails... - if 0 { + if 1 { print("TEST : hidden user input\n", to_standard_error = true); auto_release_temp(); TUI.start(); TUI.clear_terminal(); TUI.set_cursor_position(1, 1); - print("Enter some text (use Enter to finish, Esc to cancel, or resize to abort):"); + print("Enter some secret (use Enter to finish, Esc to cancel, or resize to abort):"); r, c := TUI.get_cursor_position(); TUI.set_cursor_position(r+1, 1); str, key := TUI.read_input_line(15, false); |
