From: Jochen Sprickerhof <[email protected]>

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
@@ -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


Reply via email to