Case-insensitive Ctrl-key handling, man page update

This commit is contained in:
Arun Prakash Jana 2020-03-11 09:14:59 +05:30
parent c9a17d80be
commit bf89040ace
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 3 additions and 3 deletions

4
nnn.1
View file

@ -380,11 +380,11 @@ separated by \fI;\fR:
export NNN_MCLICK='p' export NNN_MCLICK='p'
NOTES: NOTES:
1. You can use the '^\fIkey\fR' syntax to assign it to a \fICtrl+key\fR combo, e.g.: 1. To specify a \fICtrl+key\fR combo:
export NNN_MCLICK='^A' export NNN_MCLICK='^A'
2. Otherwise, only the first character is taken into account. 2. Otherwise, only the first character is considered.
.Ed .Ed
.Pp .Pp
\fBnnn:\fR this is a special variable set to the hovered entry before executing \fBnnn:\fR this is a special variable set to the hovered entry before executing

View file

@ -32,7 +32,7 @@
#include <curses.h> #include <curses.h>
#define CONTROL(c) ((c) ^ 0x40) #define CONTROL(c) ((c) & 0x1f)
/* Supported actions */ /* Supported actions */
enum action { enum action {