diff --git a/nnn.1 b/nnn.1 index 28e069d..db8d722 100644 --- a/nnn.1 +++ b/nnn.1 @@ -380,11 +380,11 @@ separated by \fI;\fR: export NNN_MCLICK='p' 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' - 2. Otherwise, only the first character is taken into account. + 2. Otherwise, only the first character is considered. .Ed .Pp \fBnnn:\fR this is a special variable set to the hovered entry before executing diff --git a/src/nnn.h b/src/nnn.h index 3763883..a832939 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -32,7 +32,7 @@ #include -#define CONTROL(c) ((c) ^ 0x40) +#define CONTROL(c) ((c) & 0x1f) /* Supported actions */ enum action {