Преглед на файлове

Case-insensitive Ctrl-key handling, man page update

master
Arun Prakash Jana преди 5 години
родител
ревизия
bf89040ace
No known key found for this signature in database GPG Key ID: A75979F35C080412
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +2
    -2
      nnn.1
  2. +1
    -1
      src/nnn.h

+ 2
- 2
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


+ 1
- 1
src/nnn.h Целия файл

@@ -32,7 +32,7 @@

#include <curses.h>

#define CONTROL(c) ((c) ^ 0x40)
#define CONTROL(c) ((c) & 0x1f)

/* Supported actions */
enum action {


Loading…
Отказ
Запис