aboutsummaryrefslogtreecommitdiff
path: root/termkey_snprint_key.3
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2009-11-27 15:07:05 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2009-11-27 15:07:05 +0000
commitba0c32e8d84925f88a8af540ce08b2dccbb52c25 (patch)
treedca07f3d4e6364666313e3b9be5938af04fb9198 /termkey_snprint_key.3
parent571e5b701f4d45d7c0942206b78f4c3b3478d248 (diff)
downloadtermo-ba0c32e8d84925f88a8af540ce08b2dccbb52c25.tar.gz
termo-ba0c32e8d84925f88a8af540ce08b2dccbb52c25.tar.xz
termo-ba0c32e8d84925f88a8af540ce08b2dccbb52c25.zip
Allow formatting the mouse position when rendering an event to a string
Diffstat (limited to 'termkey_snprint_key.3')
-rw-r--r--termkey_snprint_key.33
1 files changed, 3 insertions, 0 deletions
diff --git a/termkey_snprint_key.3 b/termkey_snprint_key.3
index 5a66392..8cb41a2 100644
--- a/termkey_snprint_key.3
+++ b/termkey_snprint_key.3
@@ -26,6 +26,9 @@ Use the name "Meta" or the letter "M" instead of "Alt" or "A".
.TP
.B TERMKEY_FORMAT_WRAPBRACKET
If the key event is a special key instead of unmodified Unicode, wrap it in "<brackets>".
+.TP
+.B TERMKEY_FORMAT_MOUSE_POS
+If the event is a mouse event, include the position rendered as "@ (col,line)".
.PP
The following shortcuts are provided for common combinations of format bits:
.TP