diff options
| author | 2019-04-27 01:53:41 +0530 | |
|---|---|---|
| committer | 2019-04-27 01:53:41 +0530 | |
| commit | 12a4ab3248b18e8005eb6594d0c867f3b550a246 (patch) | |
| tree | 9d83fde216b4ff24ff6d774f45358e4f540c5f55 | |
| parent | c4f39a200aa4e059805326aa3232665be0479590 (diff) | |
| download | nnn-12a4ab3248b18e8005eb6594d0c867f3b550a246.tar.gz | |
Support readline in open with
| -rw-r--r-- | src/nnn.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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]: "); |