From 050e0bef8e571a571684a12c4c86364c637c12d7 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Sun, 2 Mar 2025 03:00:07 -0300 Subject: Undercurl patch https://st.suckless.org/patches/undercurl/ --- config.def.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 3d5288f..92facb0 100644 --- a/config.def.h +++ b/config.def.h @@ -489,3 +489,27 @@ static char ascii_printable[] = " !\"#$%&'()*+,-./0123456789:;<=>?" "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" "`abcdefghijklmnopqrstuvwxyz{|}~"; + +/** + * Undercurl style. Set UNDERCURL_STYLE to one of the available styles. + * + * Curly: Dunno how to draw it *shrug* + * _ _ _ _ + * ( ) ( ) ( ) ( ) + * (_) (_) (_) (_) + * + * Spiky: + * /\ /\ /\ /\ + * \/ \/ \/ + * + * Capped: + * _ _ _ + * / \ / \ / \ + * \_/ \_/ + */ +// Available styles +#define UNDERCURL_CURLY 0 +#define UNDERCURL_SPIKY 1 +#define UNDERCURL_CAPPED 2 +// Active style +#define UNDERCURL_STYLE UNDERCURL_CAPPED -- cgit v1.2.3