mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 07:52:45 +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;
|
||||
};
|
||||
if next == b'\x1b' {
|
||||
if buffer.len() == 1 && next == b'\x1b' {
|
||||
return Some(
|
||||
match self.parse_escape_sequence(buffer, have_escape_prefix) {
|
||||
Some(mut nested_sequence) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user