backtab key
This commit is contained in:
parent
cd8a90a287
commit
7f81389fc8
|
@ -71,6 +71,8 @@ pub enum Key {
|
||||||
PageUp,
|
PageUp,
|
||||||
/// Page Down key.
|
/// Page Down key.
|
||||||
PageDown,
|
PageDown,
|
||||||
|
/// Backward Tab key.
|
||||||
|
BackTab,
|
||||||
/// Delete key.
|
/// Delete key.
|
||||||
Delete,
|
Delete,
|
||||||
/// Insert key.
|
/// Insert key.
|
||||||
|
@ -155,6 +157,7 @@ fn parse_csi<I>(iter: &mut I) -> Option<Event>
|
||||||
Some(Ok(b'B')) => Event::Key(Key::Down),
|
Some(Ok(b'B')) => Event::Key(Key::Down),
|
||||||
Some(Ok(b'H')) => Event::Key(Key::Home),
|
Some(Ok(b'H')) => Event::Key(Key::Home),
|
||||||
Some(Ok(b'F')) => Event::Key(Key::End),
|
Some(Ok(b'F')) => Event::Key(Key::End),
|
||||||
|
Some(Ok(b'Z')) => Event::Key(Key::BackTab),
|
||||||
Some(Ok(b'M')) => {
|
Some(Ok(b'M')) => {
|
||||||
// X10 emulation mouse encoding: ESC [ CB Cx Cy (6 characters only).
|
// X10 emulation mouse encoding: ESC [ CB Cx Cy (6 characters only).
|
||||||
let mut next = || iter.next().unwrap().unwrap();
|
let mut next = || iter.next().unwrap().unwrap();
|
||||||
|
|
Loading…
Reference in New Issue