Selaa lähdekoodia

Adapt picker mode to new selection changes

master
Arun Prakash Jana 5 vuotta sitten
vanhempi
commit
130cea3598
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c Näytä tiedosto

@@ -4389,8 +4389,8 @@ nochange:
{
/* If opened as vim plugin and Enter/^M pressed, pick */
if (cfg.picker && sel == SEL_GOIN) {
r = mkpath(path, dents[cur].name, newpath);
appendfpath(newpath, r);
dents[cur].flags |= FILE_SELECTED;
updateselbuf(path, newpath);
writesel(pselbuf, selbufpos - 1);
return;
}


Loading…
Peruuta
Tallenna