From 863bfec23df598b476e26559c117791d1083611a Mon Sep 17 00:00:00 2001 From: dam Date: Sun, 22 Dec 2024 01:59:58 +0000 Subject: Update code to comply with compiler beta 0.1.094. --- TUI/module.jai | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TUI/module.jai') 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]; } -- cgit v1.2.3