mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix not waiting for command next time if non-Enter keys are pressed
This commit is contained in:
parent
94781f7977
commit
b91f7a9600
14
README.md
14
README.md
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
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.
|
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
|
## Features
|
||||||
|
|
||||||
|
@ -50,22 +50,22 @@ Visit the [Wiki](https://github.com/jarun/nnn/wiki) for concepts, program usage,
|
||||||
- Remote mounts (needs sshfs, rclone)
|
- Remote mounts (needs sshfs, rclone)
|
||||||
- Familiar shortcuts (arrows, <kbd>~</kbd>, <kbd>-</kbd>, <kbd>@</kbd>), quick reference
|
- Familiar shortcuts (arrows, <kbd>~</kbd>, <kbd>-</kbd>, <kbd>@</kbd>), quick reference
|
||||||
- CD on quit (*easy* shell integration)
|
- 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_)
|
- Ordered pure numeric names by default (visit _/proc_)
|
||||||
- Case-insensitive version (_aka_ natural) sort
|
- Case-insensitive version (_aka_ natural) sort
|
||||||
- By file name, modification/access time, size, extension
|
- By file name, modification/access time, size, extension
|
||||||
- Reverse sort
|
- 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
|
- Mimes
|
||||||
- Open with desktop opener or specify a custom app
|
- Open with desktop opener or specify a custom app
|
||||||
- Create, list, extract, mount (FUSE based) archives
|
- Create, list, extract, mount (FUSE based) archives
|
||||||
- Option to open all text files in EDITOR
|
- Option to open all text files in EDITOR
|
||||||
- Information
|
- Information
|
||||||
- Detailed file information
|
- Detailed file information
|
||||||
- Media information (using plugin)
|
- Media information plugin
|
||||||
- Convenience
|
- Convenience
|
||||||
- Run plugins and custom commands with hotkeys
|
- Run plugins and custom commands with hotkeys
|
||||||
- FreeDesktop compliant trash (needs trash-cli)
|
- FreeDesktop compliant trash (needs trash-cli)
|
||||||
|
|
|
@ -1379,7 +1379,7 @@ static int spawn(char *file, char *arg1, char *arg2, const char *dir, uchar flag
|
||||||
if (flag & F_NORMAL) {
|
if (flag & F_NORMAL) {
|
||||||
if (flag & F_CONFIRM) {
|
if (flag & F_CONFIRM) {
|
||||||
printf("%s", messages[MSG_CONTINUE]);
|
printf("%s", messages[MSG_CONTINUE]);
|
||||||
getchar();
|
while (getchar() != '\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
refresh();
|
refresh();
|
||||||
|
|
Loading…
Reference in a new issue