mirror of
https://github.com/jarun/nnn.git
synced 2025-01-09 17:39:38 +00:00
Show msg for both invert and select all
This commit is contained in:
parent
9526fb7612
commit
064f5ea998
10
src/nnn.c
10
src/nnn.c
|
@ -1569,11 +1569,6 @@ static void invertselbuf(char *path)
|
|||
selmark *marked = malloc(nselected * sizeof(selmark));
|
||||
bool scan = FALSE;
|
||||
|
||||
if (nselected > LARGESEL) {
|
||||
printmsg("processing...");
|
||||
refresh();
|
||||
}
|
||||
|
||||
/* First pass: inversion */
|
||||
for (int i = 0; i < ndents; ++i) {
|
||||
dentp = &pdents[i];
|
||||
|
@ -7084,6 +7079,11 @@ nochange:
|
|||
scanselforpath(path);
|
||||
}
|
||||
|
||||
if ((nselected > LARGESEL) || (nselected && (ndents > LARGESEL))) {
|
||||
printmsg("processing...");
|
||||
refresh();
|
||||
}
|
||||
|
||||
((sel == SEL_SELINV) && findselpos)
|
||||
? invertselbuf(path) : addtoselbuf(path, selstartid, selendid);
|
||||
|
||||
|
|
Loading…
Reference in a new issue