Terminal Guide

DEC Locator Select Events

ESC1B[5B [ cmd ]1+ '27 {7b
xterm
🔧
repeated (one or more times):
cmd = 0

Select which events are reported by the DEC locator feature.

See also dec locator activate/deactivate.

If cmd = 0 deactivates sending events. Mouse position can still be polled by dec locator report current position.

If cmd = 1 activate reporting of button press events. If cmd = 2 deactivate reporting of button press events.

If cmd = 3 activate reporting of button release events. If cmd = 4 deactivate reporting of button release events.