mirror of
https://github.com/jarun/nnn.git
synced 2024-11-17 16:39:14 +00:00
Merge pull request #1241 from luukvbaal/master
Guard open_with getreadline for picker
This commit is contained in:
commit
2f986253e4
|
@ -7519,9 +7519,12 @@ nochange:
|
||||||
tmp = xreadline(tmp, messages[MSG_ARCHIVE_NAME]);
|
tmp = xreadline(tmp, messages[MSG_ARCHIVE_NAME]);
|
||||||
break;
|
break;
|
||||||
case SEL_OPENWITH:
|
case SEL_OPENWITH:
|
||||||
#ifdef NORL
|
#ifndef NORL
|
||||||
|
if (g_state.picker) {
|
||||||
|
#endif
|
||||||
tmp = xreadline(NULL, messages[MSG_OPEN_WITH]);
|
tmp = xreadline(NULL, messages[MSG_OPEN_WITH]);
|
||||||
#else
|
#ifndef NORL
|
||||||
|
} else
|
||||||
tmp = getreadline(messages[MSG_OPEN_WITH]);
|
tmp = getreadline(messages[MSG_OPEN_WITH]);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue