nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] add rebinding for Ctrl+Arrow-keys combinations


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] add rebinding for Ctrl+Arrow-keys combinations
Date: Tue, 16 Aug 2016 21:46:25 +0200

On Tue, Aug 16, 2016, at 20:07, Rishabh Dave wrote:
> On Mon, Aug 15, 2016 at 12:42 AM, Benno Schulenberg
> <address@hidden> wrote:
> > I don't want new functions.
> 
> :|

Well, at least not a function that is called just once.  Something
like that you just put inline.

> > Just transpose controlleft to CONTROL_LEFT, etcera, when the key
> > is interpreted, as I've been saying from the beginning.
> 
> I don't understand how a transpose will make things work...

See attached patch.

> CONTROL_LEFT doesn't defines a value even close to the one provided by
> ncurses;

It doesn't matter.  That's why you transpose the unknown controlleft
value from ncurses to the fixed value CONTROL_LEFT.  All done.

Benno

-- 
http://www.fastmail.com - Does exactly what it says on the tin

Attachment: allow-rebinding-control-arrows.patch
Description: Text Data


reply via email to

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