diff options
author | 2019-11-30 20:21:48 +0530 | |
---|---|---|
committer | 2019-11-30 20:36:04 +0530 | |
commit | 130cea3598de0158bdf3cf2428e269e04880594b (patch) | |
tree | 8e986a475ea37ebcbdc75849937e8ceac7bfb8c4 /src | |
parent | 19a914cd0c1130cbea6a1cf0e1488ca805d64be0 (diff) | |
download | nnn-130cea3598de0158bdf3cf2428e269e04880594b.tar.gz |
Adapt picker mode to new selection changes
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |