Open gjuchault opened 6 years ago
Hi,
Go the same problem. I found a hack by disabling the mouse before running the exec or spawn command and reenable it after. This the default behaviour I expected from "exec".
screen.program.clear();
screen.program.disableMouse();
screen.program.showCursor();
// run exec here
screen.program.enableMouse();
screen.program.hideCursor();
screen.render();
Hello,
If one of the component has mouse supports, it calls
screen._listenMouse
, which register events on mouse actions. Theses are not cleared beforescreen.exec
, which results in characters being written in the executed.Example: if you press
b
to get the bash input and try scrolling or moving the mouse, the bash input will be filled with characters.