mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-14 05:02:48 +08:00
parent
98750e1ae5
commit
e0c6384ed3
|
@ -4848,7 +4848,13 @@ impl<'a> Reader<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
let el = &self.data.command_line;
|
let el = &self.data.command_line;
|
||||||
|
let autosuggestion = &self.autosuggestion;
|
||||||
if self.is_at_line_with_autosuggestion() {
|
if self.is_at_line_with_autosuggestion() {
|
||||||
|
assert!(string_prefixes_string_maybe_case_insensitive(
|
||||||
|
autosuggestion.icase,
|
||||||
|
&el.text()[autosuggestion.search_string_range.clone()],
|
||||||
|
&autosuggestion.text
|
||||||
|
));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user