From 3552c6eae0e6abf97a969b5785fcf2deacd239b1 Mon Sep 17 00:00:00 2001 From: IGI-111 Date: Fri, 15 Jul 2016 12:19:02 +0200 Subject: [PATCH] added rxvt Home and End escape codes --- src/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,