README.md | 14 +++++++------- src/nnn.c | 2 +- diff --git a/README.md b/README.md index 2ca59b922dc0b14edcc3b6ce241784fc7c9715d3..8d5016ace7929f5da3d26722b2861c89ecd3f380 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ `nnn` is also a du analyzer, an app launcher, a batch renamer and a file picker. The [plugin repository](https://github.com/jarun/nnn/tree/master/plugins#nnn-plugins) has tons of plugins and documentation to extend the capabilities further. You can _plug_ new functionality _and play_ with a hotkey. There's an independent [(neo)vim plugin](https://github.com/mcchrish/nnn.vim). It runs smoothly on the Raspberry Pi, Termux [on Android](https://www.youtube.com/watch?v=AbaauM7gUJw), Linux, macOS, BSD, Haiku, Cygwin, WSL and works seamlessly with DEs and GUI utilities. -Visit the [Wiki](https://github.com/jarun/nnn/wiki) for concepts, program usage, how-tos and troubleshooting. +[Wiki](https://github.com/jarun/nnn/wiki). ## Features @@ -50,22 +50,22 @@ - Sessions, bookmarks with hotkeys; pin and visit a dir - Remote mounts (needs sshfs, rclone) - Familiar shortcuts (arrows, ~, -, @), quick reference - CD on quit (*easy* shell integration) -- Sorting +- Search + - Instant filtering with *search-as-you-type* + - Regex and substring (default) matches + - Subtree search plugin to open or edit files +- Sort - Ordered pure numeric names by default (visit _/proc_) - Case-insensitive version (_aka_ natural) sort - By file name, modification/access time, size, extension - Reverse sort -- Search - - Instant filtering with *search-as-you-type* - - Regex and substring (default) matches - - Subtree search to open or edit files (using plugin) - Mimes - Open with desktop opener or specify a custom app - Create, list, extract, mount (FUSE based) archives - Option to open all text files in EDITOR - Information - Detailed file information - - Media information (using plugin) + - Media information plugin - Convenience - Run plugins and custom commands with hotkeys - FreeDesktop compliant trash (needs trash-cli) diff --git a/src/nnn.c b/src/nnn.c index 00e8f5e82aec5e26a64d5e4f98e18e50bcc50d2b..0de89d47de82adff2a995c7e9c144f0754236e09 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1379,7 +1379,7 @@ DPRINTF_D(pid); if (flag & F_NORMAL) { if (flag & F_CONFIRM) { printf("%s", messages[MSG_CONTINUE]); - getchar(); + while (getchar() != '\n'); } refresh();