diff options
Diffstat (limited to 'TUI/module.jai')
| -rw-r--r-- | TUI/module.jai | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TUI/module.jai b/TUI/module.jai index 1ed950b..13f8183 100644 --- a/TUI/module.jai +++ b/TUI/module.jai @@ -609,7 +609,7 @@ read_input_line :: (count_limit: int, is_visible: bool = true) -> string, Key { if buff_idx > count_limit - key_str.count then continue; // Move text to allow inserting new character. - for < count_limit-1..buff_idx + key_str.count-1 { + for #v2 < buff_idx + key_str.count-1..count_limit-1 { str.data[it] = str.data[it-key_str.count]; } |
