Both my local and remote are Ubuntu 18, though I have seen it in 16 as well.
I establish a ssh to my remote server, start tmux (2.1.3
), something causes the pipe to break. When I ssh back in, but before I start tmux, whenever I click in the terminal screen, it writes a bunch of junk to the buffer, like
0;38;15M
0;38;15m
0;60;12M0;60;12m0;56;14M0;56;14m0;56;14M0;56;14m0;54;13M0;54;13m0;54;13M0;54;13m
I've deduced that these numbers are of the form N;X;YM
, where N is 0, 1, 2... for left click, middle, right click, X and Y are proportional to the location of the mouse click, M
is mouse down, m
is mouse up.
Clearly, this is some kind of in-band signalling, and I am pretty sure it relates to option mouse on
. But where is it coming from? Is it just a Tmux thing, an ssh thing, or a Gnome terminal thing?