[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] input: allow using <Tab> and <Shift+Tab> to...
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [PATCH] input: allow using <Tab> and <Shift+Tab> to... |
Date: |
Tue, 12 Dec 2017 21:35:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Op 12-12-17 om 03:28 schreef David Ramsey:
Benno Schulenberg:
Certainly it should. A Shift-Tab should not start a replacing session.
Okay. I'd do this myself, but I'm not sure how it'd line up with your local
changes to avoid the S-Lang compilation problem, since key values aren't
#ifdefed out anywhere in convert_sequence().
None of them were, but the back tab is pretty special: nano didn't make
use of it until now. :)
Anyway, the <Tab> changes have been pushed, so you can make any needed
additional changes now.
You'd probably have to add another fake key value (SHIFT_TAB) to nano.h,
reading kcbt from the console the way you do other unusual sequences like
Ctrl-Up.
I don't see why a SHIFT_TAB value would be needed. We only ask ncurses
for a keycode when /usr/include/ncurses.h does not define a KEY_ symbol
for the corresponding key.
Benno