diff options
| author | dam <dam@gudinoff> | 2024-12-22 01:59:58 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-12-22 02:10:26 +0000 |
| commit | 863bfec23df598b476e26559c117791d1083611a (patch) | |
| tree | 32953b5134864cabba618859cc324f8bc2e2c463 /TUI/module.jai | |
| parent | c57f2b97285c44241c6e73fad8705f17fc32a320 (diff) | |
| download | jai-modules-863bfec23df598b476e26559c117791d1083611a.tar.zst jai-modules-863bfec23df598b476e26559c117791d1083611a.zip | |
Update code to comply with compiler beta 0.1.094.
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]; } |
