diff --git a/src/input.rs b/src/input.rs index 921ccb1..46ff6f3 100644 --- a/src/input.rs +++ b/src/input.rs @@ -77,8 +77,8 @@ impl>> Iterator for Keys { 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,