瀏覽代碼

Case-insensitive Ctrl-key handling, man page update

master
Arun Prakash Jana 4 年之前
父節點
當前提交
bf89040ace
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 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…
取消
儲存