summaryrefslogtreecommitdiff
path: root/src/ui/text.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-14 18:57:20 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-14 18:57:20 +0300
commit1f3751216248b458b0bb1115c253b77e1057a24e (patch)
tree0afe6adaff90da5facc0e600f535b3721482157b /src/ui/text.h
parentcea1716969423adfe2084b6e7462d714c2680f6d (diff)
Preferences: ANSI escape sequences in Gemtext
It can be argued that using ANSI escapes to style text goes against the intended use of Gemtext. Therefore, all ANSI escapes are now disabled by default in Gemtext.
Diffstat (limited to 'src/ui/text.h')
-rw-r--r--src/ui/text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/text.h b/src/ui/text.h
index 22e67a48..36a16e2c 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -151,6 +151,7 @@ enum iAlignment {
151 151
152void setOpacity_Text (float opacity); 152void setOpacity_Text (float opacity);
153void setBaseAttributes_Text (int fontId, int colorId); /* current "normal" text attributes */ 153void setBaseAttributes_Text (int fontId, int colorId); /* current "normal" text attributes */
154void setAnsiEscapesEnabled_Text(iBool enableAnsiEscapes);
154 155
155void cache_Text (int fontId, iRangecc text); /* pre-render glyphs */ 156void cache_Text (int fontId, iRangecc text); /* pre-render glyphs */
156 157