Sync Backtab to also include pressed SHIFT (#490)

This commit is contained in:
Timon 2020-09-21 09:23:38 +02:00 committed by GitHub
parent ee13bf6447
commit 4a6c8efdca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ pub(crate) fn parse_csi(buffer: &[u8]) -> Result<Option<InternalEvent>> {
b'B' => Some(Event::Key(KeyCode::Down.into())),
b'H' => Some(Event::Key(KeyCode::Home.into())),
b'F' => Some(Event::Key(KeyCode::End.into())),
b'Z' => Some(Event::Key(KeyCode::BackTab.into())),
b'Z' => Some(Event::Key(KeyEvent {code: KeyCode::BackTab, modifiers: KeyModifiers::SHIFT})),
b'M' => return parse_csi_x10_mouse(buffer),
b'<' => return parse_csi_xterm_mouse(buffer),
b'0'..=b'9' => {