aboutsummaryrefslogtreecommitdiffstats
path: root/libterminput_set_flags.3
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-19 21:24:33 +0100
committerMattias Andrée <m@maandree.se>2025-02-19 21:24:33 +0100
commita9498262cb523429fe0e7ce79e97d725d482b1a0 (patch)
tree8af04618ec478f691a6c58e04c0d2a754995e50b /libterminput_set_flags.3
parentmisc cleanup, fixes, and clarifications, and escape sequence (diff)
downloadlibterminput-a9498262cb523429fe0e7ce79e97d725d482b1a0.tar.gz
libterminput-a9498262cb523429fe0e7ce79e97d725d482b1a0.tar.bz2
libterminput-a9498262cb523429fe0e7ce79e97d725d482b1a0.tar.xz
Add LIBTERMINPUT_MACRO_ON_BLOCK
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libterminput_set_flags.3')
-rw-r--r--libterminput_set_flags.39
1 files changed, 9 insertions, 0 deletions
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