From 936bb2e5f00f3172b9563b3843b01fd1214facd6 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Tue, 15 Jun 2010 11:22:19 +0400 Subject: [PATCH] Added code names for parentheses, brackets and braces. Signed-off-by: Andrew Borodin --- lib/tty/key.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/tty/key.c b/lib/tty/key.c index 944b653bf..188fd1af8 100644 --- a/lib/tty/key.c +++ b/lib/tty/key.c @@ -180,6 +180,12 @@ const key_code_name_t key_name_conv_tab[] = { { (int) '_', "underline", N_("Underline"), "_" }, { (int) '_', "understrike", N_("Understrike"), "_" }, { (int) '|', "pipe", N_("Pipe"), "|" }, + { (int) '(', "lparenthese", N_("Left parenthese"), "(" }, + { (int) ')', "rparenthese", N_("Right parenthese"), ")" }, + { (int) '[', "lbracket", N_("Left bracket"), "[" }, + { (int) ']', "rbracket", N_("Right bracket"), "]" }, + { (int) '{', "lbrace", N_("Left brace"), "{" }, + { (int) '}', "rbrace", N_("Right brace"), "}" }, { (int) '\n', "enter", N_("Enter"), "Enter" }, { (int) '\t', "tab", N_("Tab key"), "Tab" }, { (int) ' ', "space", N_("Space key"), "Space" }, -- 2.11.4.GIT