bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] add Smulx and setal (styled underlines) to foot


From: Daniel Eklöf
Subject: [PATCH] add Smulx and setal (styled underlines) to foot
Date: Fri, 02 Aug 2024 15:01:42 +0200

Hi,

I would appreciate if the patch below was applied to ncurses. It adds the 'Smulx' and 'setal' (i.e styled and colored underlines) capabilities to foot's terminfo. This is something that foot supports since version 1.18.0 (released today):

diff -urNp a/misc/terminfo.src b/misc/terminfo.src
--- a/misc/terminfo.src 2024-08-02 14:46:54.077817933 +0200
+++ b/misc/terminfo.src 2024-08-02 14:48:53.762373032 +0200
@@ -7946,6 +7946,7 @@ foot+base|foot base fragment,
        sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;
            %?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
        sgr0=\E(B\E[m, smam=\E[?7h, smkx=\E[?1h\E=, E3=\E[3J,
+       Smulx=\E[4:%p1%dm,
        use=att610+cvis, use=ansi+csr, use=ansi+cup,
        use=ansi+enq, use=ansi+local, use=ansi+idc, use=ansi+idl,
        use=ansi+rca2, use=ansi+rep, use=ansi+tabs,
@@ -7953,7 +7954,7 @@ foot+base|foot base fragment,
        use=ecma+strikeout, use=xterm+acs, use=xterm+alt+title,
        use=xterm+pcfkeys, use=xterm+sm+1006, use=xterm+tmux2,
        use=xterm+sl-alt, use=bracketed+paste,
-       use=report+version, use=xterm+focus,
+       use=report+version, use=xterm+focus, use=kitty+setal,

######## WEB CLIENTS

References:

https://codeberg.org/dnkl/foot/releases/tag/1.18.0
https://codeberg.org/dnkl/foot/issues/828
https://codeberg.org/dnkl/foot/pulls/1747

Attachment: foot.patch
Description: Add Smulx+setal to foot


Thanks,
Daniel Eklöf

reply via email to

[Prev in Thread] Current Thread [Next in Thread]