mirror of
https://github.com/jarun/nnn.git
synced 2024-09-11 13:06:14 +03:00
Clear selection if all links are generated
This commit is contained in:
parent
824e7a2c18
commit
38d7090e64
@ -3724,7 +3724,6 @@ static int xlink(char *prefix, char *path, char *curfname, char *buf, int type)
|
||||
clearselection();
|
||||
return 1; /* One link created */
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -3743,6 +3742,7 @@ static int xlink(char *prefix, char *path, char *curfname, char *buf, int type)
|
||||
psel += len + 1;
|
||||
}
|
||||
|
||||
if (count == nselected) /* Clear selection if all links are generated */
|
||||
clearselection();
|
||||
return count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user