浏览代码

Ignore backspace at empty filter prompt

master
Arun Prakash Jana 4 年前
父节点
当前提交
37987d487e
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      README.md
  2. +1
    -1
      src/nnn.c

+ 1
- 1
README.md 查看文件

@@ -96,7 +96,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
3. To open text files in `$VISUAL` (else `$EDITOR`, fallback vi) add program option `-e` in your alias. 3. To open text files in `$VISUAL` (else `$EDITOR`, fallback vi) add program option `-e` in your alias.
4. For additional functionality [install plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins). 4. For additional functionality [install plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins).
5. To copy selected file paths to system clipboard and show notis on cp, mv, rm completion use option `-x`. 5. To copy selected file paths to system clipboard and show notis on cp, mv, rm completion use option `-x`.
6. For a strictly CLI environment, customize and use plugin [`nuke`](https://github.com/jarun/nnn/blob/master/plugins/nuke).
6. For a strictly CLI environment, customize and use plugin [`nuke`](https://github.com/jarun/nnn/blob/master/plugins/nuke) with option `-c`.


Don't memorize! Arrows (or <kbd>h</kbd> <kbd>j</kbd> <kbd>k</kbd> <kbd>l</kbd>), <kbd>/</kbd>, <kbd>q</kbd> suffice. <kbd>Tab</kbd> creates, cycles contexts. <kbd>?</kbd> lists shortcuts. Don't memorize! Arrows (or <kbd>h</kbd> <kbd>j</kbd> <kbd>k</kbd> <kbd>l</kbd>), <kbd>/</kbd>, <kbd>q</kbd> suffice. <kbd>Tab</kbd> creates, cycles contexts. <kbd>?</kbd> lists shortcuts.




+ 1
- 1
src/nnn.c 查看文件

@@ -2469,7 +2469,7 @@ static int filterentries(char *path, char *lastname)
wcstombs(ln, wln, REGEX_MAX); wcstombs(ln, wln, REGEX_MAX);
ndents = total; ndents = total;
} else } else
*ch = CONTROL('L');
continue;
// fallthrough // fallthrough
case CONTROL('L'): case CONTROL('L'):
if (*ch == CONTROL('L')) { if (*ch == CONTROL('L')) {


正在加载...
取消
保存