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