From d0ad46585fe5e4dabd8c055c876027b93fd7a268 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 25 Jun 2012 13:51:13 +0000 Subject: [PATCH] fix F1-F4 to give different seq in appcur mode. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72808 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/keyin.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/bin/keyin.c b/src/bin/keyin.c index 0eee410..3e91aee 100644 --- a/src/bin/keyin.c +++ b/src/bin/keyin.c @@ -36,6 +36,10 @@ static const Keyout appcur_keyout[] = KEY("Down", "\033OB"), KEY("Home", "\033[7~"), KEY("End", "\033[8~"), + KEY("F1", "\033OP"), + KEY("F2", "\033OQ"), + KEY("F3", "\033OR"), + KEY("F4", "\033OS"), KEY(NULL, "END") }; @@ -92,10 +96,10 @@ static const Keyout keyout[] = KEY("Help", "\033[28~"), KEY("Execute", "\033[3~"), KEY("Select", "\033[4~"), - KEY("F1", "\033[11~"), - KEY("F2", "\033[12~"), - KEY("F3", "\033[13~"), - KEY("F4", "\033[14~"), + KEY("F1", "\033[11~"), // \033OP + KEY("F2", "\033[12~"), // \033OQ + KEY("F3", "\033[13~"), // \033OR + KEY("F4", "\033[14~"), // \033OR KEY("F5", "\033[15~"), KEY("F6", "\033[17~"), KEY("F7", "\033[18~"), -- 2.7.4