mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 19:29:55 +08:00
Parse no more than one \e prefix as alt modifier
This commit is contained in:
parent
53ea6db72d
commit
fcf7cd81cf
@ -697,7 +697,7 @@ pub trait InputEventQueuer {
|
|||||||
}
|
}
|
||||||
return None;
|
return None;
|
||||||
};
|
};
|
||||||
if next == b'\x1b' {
|
if buffer.len() == 1 && next == b'\x1b' {
|
||||||
return Some(
|
return Some(
|
||||||
match self.parse_escape_sequence(buffer, have_escape_prefix) {
|
match self.parse_escape_sequence(buffer, have_escape_prefix) {
|
||||||
Some(mut nested_sequence) => {
|
Some(mut nested_sequence) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user