aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-21 18:46:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-21 18:46:17 +0000
commit838738a04aca6cab481c6445cb7cc8a8b1d59001 (patch)
tree88ba05e0c29c1eee7ec7c9de9d1dfda4a5f5153e
parentcsi: bug: reset mouse *reporting* on CSI 1005/1006/1015l (diff)
terminfo: add XM (mouse initialization)
-rw-r--r--foot.info2
-rw-r--r--meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/foot.info b/foot.info
index fc87905f..3f2afa55 100644
--- a/foot.info
+++ b/foot.info
@@ -179,4 +179,4 @@ foot+base|foot base fragment,
u8=\E[?%[;0123456789]c,
u9=\E[c,
vpa=\E[%i%p1%dd,
- \ No newline at end of file
+ XM=\E[?1006;1000%?%p1%{1}%=%th%el%;,
diff --git a/meson.build b/meson.build
index 5d1bd058..a6da9aba 100644
--- a/meson.build
+++ b/meson.build
@@ -85,7 +85,7 @@ custom_target(
'terminfo',
output: 'f',
input: 'foot.info',
- command: ['tic', '-o', '@OUTDIR@', '-e', 'foot,foot-direct', '@INPUT@'],
+ command: ['tic', '-x', '-o', '@OUTDIR@', '-e', 'foot,foot-direct', '@INPUT@'],
install: true,
install_dir: join_paths(get_option('datadir'), 'terminfo'))