diff options
| author | dam <dam@gudinoff> | 2024-03-24 00:50:01 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-03-24 00:50:01 +0000 |
| commit | f1fe4f6bcf27e0843d424f4885b0913e220ade2e (patch) | |
| tree | c4fc93f547d333a247f918f571fa07e8b7862dc9 /ttt.jai | |
| parent | b47287aaa3cfa384ec683ff58e0d247e8bad32b1 (diff) | |
| download | task-time-tracker-f1fe4f6bcf27e0843d424f4885b0913e220ade2e.tar.zst task-time-tracker-f1fe4f6bcf27e0843d424f4885b0913e220ade2e.zip | |
Improved robustness and code clarity on get_key.
Diffstat (limited to 'ttt.jai')
| -rw-r--r-- | ttt.jai | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1324,9 +1324,8 @@ main :: () { assert(key == #char "y", "# Failed to set terminal title.\n"); print("- success\n", to_standard_error = true); } - - // TODO Setup this test... check for Meta+FX or Ctrl+FX compatibility between windows and *nix. - if 1 { + + if 0 { print("TEST : print keys and set terminal title\n", to_standard_error = true); TUI.start(); TUI.set_terminal_title("bazinga"); @@ -1390,7 +1389,7 @@ main :: () { TUI.stop(); } - if 0 { + if 1 { print("TEST : user input\n", to_standard_error = true); auto_release_temp(); TUI.start(); |
