Adapt picker mode to new selection changes

This commit is contained in:
Arun Prakash Jana 2019-11-30 20:21:48 +05:30
parent 19a914cd0c
commit 130cea3598
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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;
}