[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V3] input: allow distinguishing shifted from unshifted Meta k
From: |
Brand Huntsman |
Subject: |
Re: [PATCH V3] input: allow distinguishing shifted from unshifted Meta keystrokes |
Date: |
Thu, 12 Dec 2019 15:16:39 -0700 |
On Thu, 12 Dec 2019 16:18:36 +0100
Benno Schulenberg <address@hidden> wrote:
> [V3: Lowercases only the default M-letter bindings.]
>
> When the new option 'splitmeta' is set, nano will differentiate
> between Meta+letter and Shift+Meta+letter. In other words, typing
> Alt+a will do something other than typing Alt+A, and binding M-a
> will be different from binding M-A.
nano.c: In function 'main':
nano.c:2397:22: error: assignment of read-only location '*(chord->keystr + 2)'
2397 | chord->keystr[2] = tolower(chord->keystr[2]);
typedef struct keystruct {
const char *keystr;