Terminal Guide

Mouse Click and Dragging Tracking

?1002
urxvt
xterm
vte
konsole

See Mouse for details.

urxvt ( ✓ )

🛈 Only mouse actions without shift or alt held are reported. These two modifiers are used for internal functions in urxvt. 🛆 in default reporting format the coordinates just wrap over (including into the range 0-32) when out of the representable range. 🛆 When multiple buttons are held down while moving the mouse the report contains the id of the last pressed button. When a button is released while others are still held the movement reports will contain the id 3 (button released)

xterm ( ✔ )

🛈 Mouse actions with shift held are used for text selection. By default mouse actions with exactly ctrl held are used for xterms internal menu. Alt and ctrl-alt are passed to the application. 🛈 Alt + middle click is bound to a hard reset of the terminal in the default configuration. 🛈 Additional mouse buttons are reported since version 342. Correct button up reporting for additional mouse buttons since 345.

vte ( ✔ )

🛈 Mouse actions with shift key held are not reported. 🛈 Further mouse buttons are not reported. 🛈 In versions before 0.52.3 / 0.54.1: in default reporting format the coordinates wrapped over when between 223 and 231 into the range 0-7.

konsole ( ✓ )

🛈 Mouse actions with shift key held are not reported. 🛆 Held modifier keys are not reported. 🛆 When multiple buttons are held down while moving the mouse the report contains the held button with the highest id. 🛆 Mouse mode can be disabled by resetting any of the mouse tracking modes. When activating all mouse tracking modes are handled the same, except that ?1000 alone produces non standard behaviour while dragging the mouse. When not disabling the exact modes that have been activated partial state leaks into the next mouse mode activation.