Browse Source

Ignore backspace at empty filter prompt

master
Arun Prakash Jana 4 years ago
parent
commit
37987d487e
No known key found for this signature in database GPG Key ID: A75979F35C080412
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      src/nnn.c

+ 1
- 1
README.md View File

@@ -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.
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`.
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.



+ 1
- 1
src/nnn.c View File

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


Loading…
Cancel
Save