From dc1996ac67f8d97b3c125496ca83047cc52a5c9a Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 4 Sep 2021 15:14:00 -0700 Subject: [PATCH] fixup terminfo for underline color I noticed while reviewing the session recording for https://github.com/wez/wezterm/issues/1102 that wezterm reported: ``` 2021-09-04T22:05:46.136Z WARN wezterm_term::terminalstate::performer > unknown unspecified CSI: "58::2::87::61::38m" 2021-09-04T22:05:46.138Z WARN wezterm_term::terminalstate::performer > unknown unspecified CSI: "58::2::87::61::38m" ``` Those extra double-colons aren't valid, and I think they're coming from this terminfo file, so fix it up! --- termwiz/data/wezterm.terminfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termwiz/data/wezterm.terminfo b/termwiz/data/wezterm.terminfo index e6742e01e..4d3d3bf2e 100644 --- a/termwiz/data/wezterm.terminfo +++ b/termwiz/data/wezterm.terminfo @@ -19,7 +19,7 @@ wezterm|Wez's terminal emulator, Ss=\E[%p1%d\sq, Smulx=\E[4:%p1%dm, Sync=\E[?2026%?%p1%{1}%-%tl%eh, - Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m, + Setulc=\E[58:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%d%;m, Smol=\E[53m, am, bce, ccc, km, mc5i, mir, msgr, npc, xenl, colors#0x100, cols#80, it#8, lines#24, pairs#0x7fff,