diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-14 18:57:20 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-14 18:57:20 +0300 |
commit | 1f3751216248b458b0bb1115c253b77e1057a24e (patch) | |
tree | 0afe6adaff90da5facc0e600f535b3721482157b /src/ui/text.h | |
parent | cea1716969423adfe2084b6e7462d714c2680f6d (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.h | 1 |
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 | ||
152 | void setOpacity_Text (float opacity); | 152 | void setOpacity_Text (float opacity); |
153 | void setBaseAttributes_Text (int fontId, int colorId); /* current "normal" text attributes */ | 153 | void setBaseAttributes_Text (int fontId, int colorId); /* current "normal" text attributes */ |
154 | void setAnsiEscapesEnabled_Text(iBool enableAnsiEscapes); | ||
154 | 155 | ||
155 | void cache_Text (int fontId, iRangecc text); /* pre-render glyphs */ | 156 | void cache_Text (int fontId, iRangecc text); /* pre-render glyphs */ |
156 | 157 | ||