nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c03ce956c8365645f2e64f15303cbd4585e1baf4
parent eedec06cc4bc3f62ceebc337facad47c9afaa2ef
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue, 17 May 2016 17:49:15 +0200

browser: after getting a mouse click, don't try any further interpretation

Either the selected file was changed, or a file or directory was chosen
(and the Enter key virtually pressed), or a shortcut was executed.  So,
just go and read the next key.

This fixes https://savannah.gnu.org/bugs/?47944.

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

diff --git a/src/browser.c b/src/browser.c @@ -163,6 +163,8 @@ char *do_browser(char *path, DIR *dir) if (old_selected == selected) unget_kbinput(sc_seq_or(do_enter, 0), FALSE, FALSE); } + + continue; } #endif /* !DISABLE_MOUSE */