diff options
| author | 2020-06-15 19:05:44 +0530 | |
|---|---|---|
| committer | 2020-06-15 19:13:08 +0530 | |
| commit | d9b8b0e8216ca76e25a2589ad1527d90e78aec43 (patch) | |
| tree | f25663f4572e5e45d29187b9d35b5819230f6537 | |
| parent | 251a9a2e9c7172682a14da47a1270e4ea8bc7ff7 (diff) | |
| download | nnn-d9b8b0e8216ca76e25a2589ad1527d90e78aec43.tar.gz | |
Clear selection after some operations (see notes)
Selection is cleared after successful:
- file removal
- batch rename
- link creation
However, selection is not cleared after:
- archive creation: user may want to delete the files after archiving
| -rw-r--r-- | src/nnn.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3005,6 +3005,7 @@ static int xlink(char *prefix, char *path, char *curfname, char *buf, int *prese psel += len + 1; } + clearselection(); return count; } @@ -5963,6 +5964,7 @@ nochange: printwait(messages[MSG_FAILED], &presel); goto nochange; } + clearselection(); refresh = TRUE; break; case SEL_HELP: |