aboutsummaryrefslogtreecommitdiff
path: root/TUI/module.jai
diff options
context:
space:
mode:
Diffstat (limited to 'TUI/module.jai')
-rw-r--r--TUI/module.jai4
1 files changed, 3 insertions, 1 deletions
diff --git a/TUI/module.jai b/TUI/module.jai
index 73f9260..df88f0c 100644
--- a/TUI/module.jai
+++ b/TUI/module.jai
@@ -418,6 +418,8 @@ input_buffer : [8] u8; // TODO FIXME Input buffer is too small!!!
input_string : string;
input_override : Key;
+was_resized : bool;
+
#run {
// TODO FIXME DEBUG HACK or maybe... let it be?!
// Some tests.
@@ -628,7 +630,7 @@ user_line_input :: (count_limit: int, is_visible: bool = true) -> string, Key {
}
case;
- if is_escape_code(key) continue; - TODO NOT WORKING FIX THIS
+ if is_escape_code(key) continue; // TODO NOT WORKING FIX THIS
key_str := to_string(key);
str.data[idx] = key_str.data[0];
idx += 1;