nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 37987d487e7fa63a69a8699943e4b3fafe15641b
parent d1fcc5351e43577c59bd9c89699f7241cea8052a
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 29 Feb 2020 06:08:26 +0530

Ignore backspace at empty filter prompt

Diffstat:
MREADME.md | 2+-
Msrc/nnn.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/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. 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. diff --git a/src/nnn.c b/src/nnn.c @@ -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')) {