summaryrefslogtreecommitdiff
path: root/src/prefs.c
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/prefs.c
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/prefs.c')
-rw-r--r--src/prefs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c
index f51538ac..ea0717e5 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -61,6 +61,7 @@ void init_Prefs(iPrefs *d) {
61 setCStr_String(&d->strings[monospaceFont_PrefsString], "iosevka"); 61 setCStr_String(&d->strings[monospaceFont_PrefsString], "iosevka");
62 setCStr_String(&d->strings[monospaceDocumentFont_PrefsString], "iosevka-body"); 62 setCStr_String(&d->strings[monospaceDocumentFont_PrefsString], "iosevka-body");
63 d->fontSmoothing = iTrue; 63 d->fontSmoothing = iTrue;
64 d->gemtextAnsiEscapes = iFalse;
64 d->monospaceGemini = iFalse; 65 d->monospaceGemini = iFalse;
65 d->monospaceGopher = iFalse; 66 d->monospaceGopher = iFalse;
66 d->boldLinkDark = iTrue; 67 d->boldLinkDark = iTrue;