Fix wrong prompt

This commit is contained in:
Arun Prakash Jana 2018-12-08 01:11:55 +05:30
parent 0d435614b2
commit 572094c838
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -3221,11 +3221,10 @@ nochange:
goto nochange; goto nochange;
} }
r = get_input("press 'c' for cli mode"); if (sel == SEL_OPEN || sel == SEL_LAUNCH) {
if (r == 'c') r = get_input("press 'c' for cli mode");
r = F_NORMAL; (r == 'c') ? (r = F_NORMAL) : (r = F_NOWAIT | F_NOTRACE);
else }
r = F_NOWAIT | F_NOTRACE;
if (sel == SEL_OPEN) { if (sel == SEL_OPEN) {
getprogarg(tmp, &ptr); getprogarg(tmp, &ptr);