Browse Source

Show selection name in archive option

master
Arun Prakash Jana 6 years ago
parent
commit
af3d0a69bc
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      nnn.c

+ 5
- 1
nnn.c View File

@@ -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…
Cancel
Save