2 Commits
Author SHA1 Message Date
Kyle Sower 771a4efacc termwiz: fix Se terminfo entry to reset cursor to configured default (#7762) 2026-11-20 06:45:47 +01:00
Johannes Altmanninger 52c3515037 Advertize the Su capability too
I'm not sure if applications are supposed to use "Smulx" and "Setulc" or
"Su". Among the terminals that implement XTGETTCAP, contour, foot, ghostty
and kitty advertize both (and XTerm neither).

"Su" is the one mentioned in the original documentation
https://sw.kovidgoyal.net/kitty/underlines/

It's a boolean capability but I'd argue that's even better since I don't
think the flexibility of string capabilities is needed.  (Personally, all
I want to use it for is to answer "will this terminal break if I emit the
hardcoded \e[4:3m and \e[58:2::1:2:3m".

Include "Su" in wezterm's terminfo, for the benefit of XTGETTCAP users..
Updated the compiled database with

	tic -x termwiz/data/wezterm.terminfo -o termwiz/data

Alternatively we could change the kitty documentation.
2025-05-03 06:39:43 -07:00