mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Adapt picker mode to new selection changes
This commit is contained in:
parent
19a914cd0c
commit
130cea3598
|
@ -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…
Reference in a new issue