Browse Source

Support readline in open with

master
Arun Prakash Jana 5 years ago
parent
commit
12a4ab3248
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/nnn.c

+ 7
- 0
src/nnn.c View File

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


Loading…
Cancel
Save