[hackers] [st][PATCH] Add Smulx extended terminfo capability

From: <suckless_AT_jochen.sprickerhof.de>
Date: Thu, 25 Dec 2025 08:58:50 +0100

From: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>

st supports this already, only the terminfo was missing. Test with:

echo -e "\x1b[4:1mThis\x1b[4:2m is\x1b[4:3m a\x1b[4:4m test\x1b[4:5m for\x1b[4:0m underlines"

Needed for underline spelling errors in neovim inside tmux since

https://github.com/tmux/tmux/commit/7499d925da697498b7ee69b0effaa8b5176a50bf
---
 st.info | 1 +
 1 file changed, 1 insertion(+)
diff --git a/st.info b/st.info
index efab2cf..4e27f7a 100644
--- a/st.info
+++ b/st.info
_AT_@ -177,6 +177,7 @@ st-mono| simpleterm monocolor,
 	smkx=\E[?1h\E=,
 	smso=\E[7m,
 	smul=\E[4m,
+	Smulx=\E[4:%p1%dm,
 	tbc=\E[3g,
 	tsl=\E]0;,
 	xenl,
-- 
2.51.0
Received on Thu Dec 25 2025 - 08:58:50 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 25 2025 - 09:36:36 CET