mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Show selection name in archive option
This commit is contained in:
parent
20bb5388e6
commit
af3d0a69bc
6
nnn.c
6
nnn.c
|
@ -3078,10 +3078,14 @@ nochange:
|
|||
printmsg("quotes off");
|
||||
goto nochange;
|
||||
case SEL_OPEN: // fallthrough
|
||||
case SEL_ARCHIVE: // fallthrough
|
||||
case SEL_ARCHIVE:
|
||||
if (ndents <= 0)
|
||||
break; // fallthrough
|
||||
case SEL_NEW:
|
||||
if (sel == SEL_OPEN)
|
||||
tmp = xreadline(NULL, "open with: ");
|
||||
else if (sel == SEL_ARCHIVE)
|
||||
tmp = xreadline(dents[cur].name, "name: ");
|
||||
else
|
||||
tmp = xreadline(NULL, "name: ");
|
||||
|
||||
|
|
Loading…
Reference in a new issue