summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-20 04:09:26 -0600
committerzachir <zachir@librem.one>2023-02-20 04:09:26 -0600
commit2dbfaa34e165ba7a49100c8117b4c563895a21ef (patch)
treec0a1f128f00640b544600920b48b0b61cefe55c7 /config.def.h
parentedf033d103362bc29175a79c88a4253dc925811c (diff)
add undercurl patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h24
1 files changed, 24 insertions, 0 deletions
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