From 159ae6cb95cc119a14696da337df730aee4661d0 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 5 Aug 2021 19:21:57 +0200 Subject: terminfo: change kmous to \E[<, add XM+xm capabilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ncurses has had a bug where mouse support is completely disabled if the terminfo didn’t have kmous=\E[M, *or*, the terminfo *name* contained ‘xterm’. This appears to have been fixed. Thus, change kmous to \E[<, and set xm/XM accordingly. With this, ncurses application will use the SGR mouse reporting mode, instead of the legacy reporting mode. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 78b297c9..8d971660 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ of box drawing characters rendered by foot itself (rather than using font glyphs) (https://codeberg.org/dnkl/foot/issues/474). * `ich1=\E[@` to terminfo. +* `XM`+`xm` to terminfo. ### Changed @@ -52,6 +53,7 @@ after closing the PTY, instead of waiting 2 seconds. * Foot now sends `SIGTERM`/`SIGKILL` to the client application’s process group, instead of just to the client application’s process. +* `kmous` terminfo capability from `\E[M` to `\E[<`. ### Deprecated -- cgit v1.3