From ba0c32e8d84925f88a8af540ce08b2dccbb52c25 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Fri, 27 Nov 2009 15:07:05 +0000 Subject: Allow formatting the mouse position when rendering an event to a string --- termkey_snprint_key.3 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'termkey_snprint_key.3') 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 "". +.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 -- cgit v1.2.3-54-g00ecf