From 090bfb60a5b85518d2888498dbcadfe3bf1e578a Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 19 Jun 2012 12:09:50 +0000 Subject: [PATCH] appcur mode - home/end need different handling. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72473 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/keyin.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/bin/keyin.c b/src/bin/keyin.c index 3c871fe..75d5b39 100644 --- a/src/bin/keyin.c +++ b/src/bin/keyin.c @@ -34,6 +34,8 @@ static const Keyout appcur_keyout[] = KEY("Right", "\033OC"), KEY("Up", "\033OA"), KEY("Down", "\033OB"), + KEY("Home", "\033[7~"), + KEY("End", "\033[8~"), KEY(NULL, "END") }; @@ -78,15 +80,8 @@ static const Keyout keyout[] = KEY("Down", "\033[B"), // KEY("Tab", "\t"), // KEY("ISO_Left_Tab", "\t"), - -//// PROBLEM: vim needs these to work -// KEY("Home", "\033[7~"), -// KEY("End", "\033[8~"), -//// BUT: shells nedd these to work (emacs style) KEY("Home", "\033[H"), KEY("End", "\033[F"), -//// - KEY("Prior", "\033[5~"), KEY("Next", "\033[6~"), KEY("Insert", "\033[2~"), -- 2.7.4