#17684 closed bug (fixed)
[Terminal] Mouse position reporting not working
Reported by: | tobik | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | Applications/Terminal | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Mouse support in Terminal seems to be broken when mouse position reporting is enabled. If I move the mouse around I see parts of control sequences printed out and the programs do not react correctly to them:
S;024;001MS;029;004MS;031;007MS;032;009MS;035;013M
This works correctly in Konsole but it would be nice if it could work in Terminal too. I tested this with enabled mouse support in Kakoune and tmux.
This was on hrev55993 x86_gcc2.
To reproduce:
echo set -g mouse on >tmux.conf tmux -f tmux.conf
Then move the mouse.
FYI, Kakoune sends these control sequences to enable mouse position reporting:
\033[?1006h // force SGR mode \033[?1000h // enable mouse \033[?1002h // force enable report mouse position
Change History (7)
comment:3 by , 3 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Just to add another data point:
I've noticed the same while running Midnight Commander (
mc
). You better keep your mouse pointer away from that Terminal window runningmc
, because otherwise, that "mouse movement sequence" mentioned by tobik ends ups messing upmc
's "sub-shell" command line at the bottom.(I haven't tried
mc
on other terminals, only on Haiku's)