Support readline in open with

This commit is contained in:
Arun Prakash Jana 2019-04-27 01:53:41 +05:30
parent c4f39a200a
commit 12a4ab3248
1 changed files with 7 additions and 0 deletions

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