nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] the combination of Ctrl and Meta


From: Benno Schulenberg
Subject: [Nano-devel] the combination of Ctrl and Meta
Date: Wed, 11 Jun 2014 12:20:39 +0200

Hi all,

Currently, holding down both Ctrl and Alt will execute the same command
as if only Ctrl was pressed.  Is this intentional and wanted behaviour?

If not, then I propose to change this in winio.c (get_shortcut())):

        if ((menu & s->menu)
               && ((s->type == META && *meta_key == TRUE && *kbinput == s->seq)
               || (s->type != META && *kbinput == s->seq))) {

to:

        if ((menu & s->menu) && *kbinput == s->seq
               && *meta_key == (s->type == META)) {

Benno

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are




reply via email to

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