aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-04-07 04:26:46 +0100
committerdam <dam@gudinoff>2024-04-07 04:26:46 +0100
commit6aed607156f476937bc18a80540e2cb2e8c212ec (patch)
tree9be5f3672ee12873bff66ff07c96bd63a9a1f2df /modules
parent7ddda0dac4b75adc30799eb1a36a84ecc1e41a86 (diff)
downloadtask-time-tracker-6aed607156f476937bc18a80540e2cb2e8c212ec.tar.zst
task-time-tracker-6aed607156f476937bc18a80540e2cb2e8c212ec.zip
Add/remove TODO entries.
Diffstat (limited to 'modules')
-rw-r--r--modules/TUI/module.jai4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/TUI/module.jai b/modules/TUI/module.jai
index 5b7861e..5f143dd 100644
--- a/modules/TUI/module.jai
+++ b/modules/TUI/module.jai
@@ -421,7 +421,6 @@ read_input :: (count_limit: int = -1, terminators: .. u8) -> string {
}
}
-// TODO Provide an advanced read_input_line function that allows some styling and to set a placeholder text.
read_input_line :: (count_limit: int, is_visible: bool = true) -> string, Key {
/*
Use the get_key to read user input and show it on screen.
@@ -498,6 +497,9 @@ read_input_line :: (count_limit: int, is_visible: bool = true) -> string, Key {
str.count -= 1;
case;
+
+ // TODO FIXME Does not support UTF8 input...
+
if idx >= count_limit continue;
if is_escape_code(key) continue;