mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
try_apply_edit_to_autosuggestion: update icase matched codepoint counter
This function mutates the autosuggestion's search_string_range without
updating the number of matched codepoints accordingly, fix that.
Fixes 78f4541116 (reader: fix try_apply_edit_to_autosuggestion false
positive, 2026-01-22).
Fixes #12377
This commit is contained in:
@@ -59,3 +59,11 @@ isolated-tmux send-keys n
|
||||
tmux-sleep
|
||||
isolated-tmux capture-pane -p
|
||||
# CHECK: prompt {{\d+}}> echo in
|
||||
|
||||
touch some-file
|
||||
isolated-tmux send-keys C-u C-l ': some-'
|
||||
tmux-sleep
|
||||
isolated-tmux send-keys f Tab
|
||||
tmux-sleep
|
||||
isolated-tmux capture-pane -p
|
||||
# CHECK: prompt {{\d+}}> : some-file
|
||||
|
||||
Reference in New Issue
Block a user