nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] [PATCH] input: make <Shift+Tab> work also on a Manjaro cons


From: Benno Schulenberg
Subject: [Nano-devel] [PATCH] input: make <Shift+Tab> work also on a Manjaro console
Date: Sun, 21 Jan 2018 10:56:05 +0100

This fixes https://savannah.gnu.org/bugs/?52943.
---
 src/winio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/winio.c b/src/winio.c
index 7ab42e7c..b5f1d10b 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -388,6 +388,8 @@ int parse_kbinput(WINDOW *win)
                case 1:
                        if (keycode >= 0x80)
                                retval = keycode;
+                       else if (keycode == TAB_CODE)
+                               retval = SHIFT_TAB;
                        else if ((keycode != 'O' && keycode != 'o' && keycode 
!= '[') ||
                                                key_buffer_len == 0 || 
*key_buffer == ESC_CODE) {
                                /* One escape followed by a single non-escape:
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]