GiorgosXou / TUIFIManager

A cross-platform terminal-based termux-oriented file manager (and component), meant to be used with a Uni-Curses project or as is.
GNU General Public License v3.0
684 stars 13 forks source link

Suddenly, COMMAND mode gets enabled at mouse & resizing actions #81

Closed GiorgosXou closed 11 months ago

GiorgosXou commented 1 year ago

Suddenly out of nowhere resizing the window or simply entering-exiting mouse, creates this wierd issue where it translate the action into a command Peek 2023-06-28 22-18

GiorgosXou commented 1 year ago

Anyone experiencing this issue with i3? (or have I messed up anything while trying to figure out how to implement xdnd protocol)

GiorgosXou commented 1 year ago

Ok, I found the issue... somehow at some time, i've no idea when, ncurses started catching the mouse enters-exits events from uc.get_wch(), this line below 1182 fixes it:

if event in (577,576) :return

I don't think it has to do with ncurses necessaraly but anyways...

GiorgosXou commented 1 year ago

Is it only me?