added rxvt Home and End escape codes
This commit is contained in:
parent
0e74a7672f
commit
3552c6eae0
|
@ -77,8 +77,8 @@ impl<I: Iterator<Item = Result<char, io::CharsError>>> Iterator for Keys<I> {
|
|||
Some(Ok('F')) => Key::End,
|
||||
Some(Ok(c @ '1' ... '6')) => match self.chars.next() {
|
||||
Some(Ok('~')) => match c {
|
||||
'1' => Key::Home,
|
||||
'2' => Key::Insert,
|
||||
'1' | '7' => Key::Home,
|
||||
'2' | '8' => Key::Insert,
|
||||
'3' => Key::Delete,
|
||||
'4' => Key::End,
|
||||
'5' => Key::PageUp,
|
||||
|
|
Loading…
Reference in New Issue