From a9498262cb523429fe0e7ce79e97d725d482b1a0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 19 Feb 2025 21:24:33 +0100 Subject: Add LIBTERMINPUT_MACRO_ON_BLOCK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libterminput_set_flags.3 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libterminput_set_flags.3') diff --git a/libterminput_set_flags.3 b/libterminput_set_flags.3 index af1908a..b55c231 100644 --- a/libterminput_set_flags.3 +++ b/libterminput_set_flags.3 @@ -88,6 +88,15 @@ The sequence .BI "CSI " Ps " ; " Rs " R" shall be parsed as a cursor position report rather than as an F3 key press. +.TP +.B LIBTERMINPUT_MACRO_ON_BLOCK +If CSI M is received without anything after it, +return Macro keypress. Since the user probably +does not have the Macro key, it seems having this +as the default behaviour introduces an unncessary +risk of misparsing input. However, if mouse tracking +is not activated, it makes since to enable this +flag. .PP .I ctx must have been zero-initialised, e.g. with -- cgit v1.2.3-70-g09d2