mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Refresh on empty command
This commit is contained in:
parent
c26b9abd05
commit
c4c162f33a
|
@ -3422,9 +3422,8 @@ nochange:
|
|||
spawn(shell, tmp, dir, path, F_NORMAL | F_SIGINT);
|
||||
} else if (sel == SEL_RUNCMD) {
|
||||
tmp = xreadline(NULL, "> ");
|
||||
if (!tmp || !tmp[0])
|
||||
break;
|
||||
spawn(shell, "-c", tmp, path, F_NORMAL | F_SIGINT);
|
||||
if (tmp && tmp[0])
|
||||
spawn(shell, "-c", tmp, path, F_NORMAL | F_SIGINT);
|
||||
} else
|
||||
spawn(shell, shell_arg, NULL, path, F_NORMAL | F_MARKER);
|
||||
|
||||
|
|
Loading…
Reference in a new issue