mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
Add check for non-empty selection buffer
This commit is contained in:
parent
8886f1cd56
commit
e901615fcc
1 changed files with 1 additions and 1 deletions
|
@ -2088,7 +2088,7 @@ static bool cpmvrm_selection(enum action sel, char *path)
|
|||
{
|
||||
int r;
|
||||
|
||||
if (isselfileempty()) {
|
||||
if (!selbufpos && isselfileempty()) {
|
||||
printmsg(messages[MSG_0_SELECTED]);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue