src/nnn.c | 7 +++++++ diff --git a/src/nnn.c b/src/nnn.c index aa891c27cf777635877a70dcfbea2c8249d335df..c14f68cb246d183c45df4113c52ad7bc615f123a 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3757,7 +3757,14 @@ tmp = dents[cur].name; 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]: ");