nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 12a4ab3248b18e8005eb6594d0c867f3b550a246
parent c4f39a200aa4e059805326aa3232665be0479590
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 27 Apr 2019 01:53:41 +0530

Support readline in open with

Diffstat:
Msrc/nnn.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git 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]: ");