mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix wrong prompt
This commit is contained in:
parent
0d435614b2
commit
572094c838
|
@ -3221,11 +3221,10 @@ nochange:
|
|||
goto nochange;
|
||||
}
|
||||
|
||||
r = get_input("press 'c' for cli mode");
|
||||
if (r == 'c')
|
||||
r = F_NORMAL;
|
||||
else
|
||||
r = F_NOWAIT | F_NOTRACE;
|
||||
if (sel == SEL_OPEN || sel == SEL_LAUNCH) {
|
||||
r = get_input("press 'c' for cli mode");
|
||||
(r == 'c') ? (r = F_NORMAL) : (r = F_NOWAIT | F_NOTRACE);
|
||||
}
|
||||
|
||||
if (sel == SEL_OPEN) {
|
||||
getprogarg(tmp, &ptr);
|
||||
|
|
Loading…
Reference in a new issue