mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
fish_key_reader: ignore sentinel key
Also, move the undo grouping for paste to the right place.
This commit is contained in:
@@ -869,11 +869,9 @@ fn parse_csi(&mut self, buffer: &mut Vec<u8>) -> Option<Key> {
|
||||
} // rxvt style
|
||||
200 => {
|
||||
self.paste_start_buffering();
|
||||
self.push_front(CharEvent::from_readline(ReadlineCmd::BeginUndoGroup));
|
||||
return Some(Key::from_raw(key::Invalid));
|
||||
}
|
||||
201 => {
|
||||
self.push_front(CharEvent::from_readline(ReadlineCmd::EndUndoGroup));
|
||||
self.paste_commit();
|
||||
return Some(Key::from_raw(key::Invalid));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user