curs_mouse 3x
-
+
@@ -319,6 +320,10 @@
\E[?1000%?%p1%{1}%=%th%el%;
+ The mouse driver also recognizes a newer xterm private mode 1006, e.g.,
+
+ \E[?1006;1000%?%p1%{1}%=%th%el%;
+
The z member in the event structure is not presently used. It is in-
tended for use with touch screens (which may be pressure-sensitive) or
with 3D-mice/trackballs/power gloves.
@@ -343,9 +348,11 @@
Because there are no standard terminal responses that would serve to
identify terminals which support the xterm mouse protocol, ncurses as-
- sumes that if your $TERM environment variable contains "xterm", or
- kmous is defined in the terminal description, then the terminal may
- send mouse events.
+ sumes that if kmous is defined in the terminal description, or if the
+ terminal description's primary name or aliases contain the string
+ "xterm", then the terminal may send mouse events. The kmous capability
+ is checked first, allowing the use of newer xterm mouse protocols such
+ as xterm's private mode 1006.