aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/TUI/module.jai2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TUI/module.jai b/modules/TUI/module.jai
index 9ef0a7e..5993676 100644
--- a/modules/TUI/module.jai
+++ b/modules/TUI/module.jai
@@ -473,7 +473,7 @@ 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... should allow to move the cursor left and right and to delete/backspace.
Enter should end the input, returning the input string and the Enter key.
- Escape should discard the input returning an empty string and a None key.
+ Escape should discard the input returning an empty string and a Escape key.
Resize should discard the input returning an empty string and a Resize key.
*/
// result := ifx key == Keys.Enter then builder_to_string(*builder) else "";