Is there a way to indicate mouse reporting status in status line? #5046
Replies: 2 comments 3 replies
-
|
All the If you want to see if tmux has the mouse turned on just check the mouse option, so |
Beta Was this translation helpful? Give feedback.
-
|
Different mouse modes are described here https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking
And |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently developed a desire to indicate a couple of tty states in my tmux status line.
The 'alternate screen' (CSI 1049) being active or not is rather straight forward:
Another state I am interested in is 'mouse reporting' - at least that is what i think I am interested in.
What I know:
set -g mouse onset mouse=aWhat I do not know:
tmux.1man page has a couple of mouse-related entries, though I do not understand the details.As an experiment, I did this:
When I start vim with
set mouse=a, I get anMand anS, hencemouse_any_flagandmouse_standard_flag.Though, when I start tmux with
set -g mouse onI do not get eitherm,M,s,S,t,Toru.I would have expected that tmux
set -g mouse onwould cause one or several of these flags to be 1, but that's not the case.Also, I do not understand what vim causing both
mouse_any_flagandmouse_standard_flagactually means.Long story short, I don't understand terminal mouse 'stuff'.
If somebody could shed some light on this, it would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions