From 2dbfaa34e165ba7a49100c8117b4c563895a21ef Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Feb 2023 04:09:26 -0600 Subject: add undercurl patch --- 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 dcad27e..5f304ab 100644 --- a/config.def.h +++ b/config.def.h @@ -514,3 +514,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_SPIKY -- cgit v1.2.3