Fix crash when using vi visual selection on empty buffer

This commit is contained in:
2026-03-08 00:36:46 -05:00
parent a464540fbe
commit ac429cbdf4
2 changed files with 6 additions and 2 deletions

View File

@@ -225,5 +225,6 @@ vi_test! {
vi_dollar_single : "h" => "$" => "h", 0;
vi_caret_no_ws : "hello" => "$^" => "hello", 0;
vi_f_last_char : "hello" => "fo" => "hello", 4;
vi_r_on_space : "hello world" => "5|r-" => "hell- world", 4
vi_r_on_space : "hello world" => "5|r-" => "hell- world", 4;
vi_vw_doesnt_crash : "" => "vw" => "", 0
}