nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 130cea3598de0158bdf3cf2428e269e04880594b
parent 19a914cd0c1130cbea6a1cf0e1488ca805d64be0
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 30 Nov 2019 20:21:48 +0530

Adapt picker mode to new selection changes

Diffstat:
Msrc/nnn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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; }