From: Arun Prakash Jana Date: Fri, 26 Apr 2019 20:23:41 +0000 (+0530) Subject: Support readline in open with X-Git-Tag: v2.5~54 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=12a4ab3248b18e8005eb6594d0c867f3b550a246;p=nnn.git Support readline in open with --- diff --git a/src/nnn.c b/src/nnn.c index aa891c27..c14f68cb 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3757,7 +3757,14 @@ nochange: tmp = xreadline(tmp, "archive name: "); break; case SEL_OPENWITH: +#ifdef NORL tmp = xreadline(NULL, "open with: "); +#else + presel = 0; + tmp = getreadline("open with: ", path, ipath, &presel); + if (presel == MSGWAIT) + goto nochange; +#endif break; case SEL_NEW: tmp = xreadline(NULL, "name/link suffix [@ for none]: ");