diff options
| author | dam <dam@gudinoff> | 2024-12-21 23:21:46 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-12-22 02:11:27 +0000 |
| commit | ec98642dfdf9e113702becebd8cac122ba1cc14d (patch) | |
| tree | dc10b33d92b0ad557931fa9f0b37f99b0414ad25 /modules/TUI/module.jai | |
| parent | 2ec6ef66d9fdc4f225c5f0e6317bb7ecba040533 (diff) | |
| download | task-time-tracker-ec98642dfdf9e113702becebd8cac122ba1cc14d.tar.zst task-time-tracker-ec98642dfdf9e113702becebd8cac122ba1cc14d.zip | |
Update code to comply with compiler beta 0.1.094.
Diffstat (limited to 'modules/TUI/module.jai')
| -rw-r--r-- | modules/TUI/module.jai | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TUI/module.jai b/modules/TUI/module.jai index 1ed950b..13f8183 100644 --- a/modules/TUI/module.jai +++ b/modules/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]; } |
