mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-20 18:41:16 -03:00
Parse no more than one \e prefix as alt modifier
This commit is contained in:
@@ -697,7 +697,7 @@ fn parse_escape_sequence(
|
||||
}
|
||||
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) => {
|
||||
|
||||
Reference in New Issue
Block a user