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 opened as vim plugin and Enter/^M pressed, pick */
|
||||||
if (cfg.picker && sel == SEL_GOIN) {
|
if (cfg.picker && sel == SEL_GOIN) {
|
||||||
r = mkpath(path, dents[cur].name, newpath);
|
dents[cur].flags |= FILE_SELECTED;
|
||||||
appendfpath(newpath, r);
|
updateselbuf(path, newpath);
|
||||||
writesel(pselbuf, selbufpos - 1);
|
writesel(pselbuf, selbufpos - 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue