diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-12 21:29:48 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-12 21:29:48 +0530 |
commit | fcba62d296d6f2b1f79ce7df72f984afd0c8fe3f (patch) | |
tree | 51e1c7ad451f5364e2551e39a59bea2b12aefb3d /src | |
parent | 73593450acccca9fb552668d50f4c7af15ebc841 (diff) | |
download | nnn-fcba62d296d6f2b1f79ce7df72f984afd0c8fe3f.tar.gz |
Update selection when context changed on mouse click
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4328,6 +4328,11 @@ nochange: if (r >= CTX_MAX) sel = SEL_BACK; else if (r >= 0 && r < CTX_MAX && r != cfg.curctx) { + if (cfg.selmode) { + updateselbuf(path, newpath); + ctx_changed = TRUE; + } + savecurctx(&cfg, path, dents[cur].name, r); /* Reset the pointers */ |