Skip to content

Commit

Permalink
Sync Backtab to also include pressed SHIFT (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimonPost authored Sep 21, 2020
1 parent ee13bf6 commit 4a6c8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/sys/unix/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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' => {
Expand Down

0 comments on commit 4a6c8ef

Please sign in to comment.