Sync Backtab to also include pressed SHIFT (#490)
This commit is contained in:
parent
ee13bf6447
commit
4a6c8efdca
@ -137,7 +137,7 @@ pub(crate) fn parse_csi(buffer: &[u8]) -> Result<Option<InternalEvent>> {
|
|||||||
b'B' => Some(Event::Key(KeyCode::Down.into())),
|
b'B' => Some(Event::Key(KeyCode::Down.into())),
|
||||||
b'H' => Some(Event::Key(KeyCode::Home.into())),
|
b'H' => Some(Event::Key(KeyCode::Home.into())),
|
||||||
b'F' => Some(Event::Key(KeyCode::End.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'M' => return parse_csi_x10_mouse(buffer),
|
||||||
b'<' => return parse_csi_xterm_mouse(buffer),
|
b'<' => return parse_csi_xterm_mouse(buffer),
|
||||||
b'0'..=b'9' => {
|
b'0'..=b'9' => {
|
||||||
|
Loading…
Reference in New Issue
Block a user