summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index 374bab71..9a292ea5 100644
--- a/src/app.c
+++ b/src/app.c
@@ -2445,6 +2445,10 @@ iBool handleCommand_App(const char *cmd) {
2445 iChangeFlags(d->prefs.gemtextAnsiEscapes, allowFg_AnsiFlag, arg_Command(cmd)); 2445 iChangeFlags(d->prefs.gemtextAnsiEscapes, allowFg_AnsiFlag, arg_Command(cmd));
2446 return iTrue; 2446 return iTrue;
2447 } 2447 }
2448 else if (equal_Command(cmd, "prefs.gemtext.ansi.bg.changed")) {
2449 iChangeFlags(d->prefs.gemtextAnsiEscapes, allowBg_AnsiFlag, arg_Command(cmd));
2450 return iTrue;
2451 }
2448 else if (equal_Command(cmd, "prefs.gemtext.ansi.fontstyle.changed")) { 2452 else if (equal_Command(cmd, "prefs.gemtext.ansi.fontstyle.changed")) {
2449 iChangeFlags(d->prefs.gemtextAnsiEscapes, allowFontStyle_AnsiFlag, arg_Command(cmd)); 2453 iChangeFlags(d->prefs.gemtextAnsiEscapes, allowFontStyle_AnsiFlag, arg_Command(cmd));
2450 return iTrue; 2454 return iTrue;
@@ -2891,6 +2895,8 @@ iBool handleCommand_App(const char *cmd) {
2891 d->prefs.boldLinkLight); 2895 d->prefs.boldLinkLight);
2892 setToggle_Widget(findChild_Widget(dlg, "prefs.gemtext.ansi.fg"), 2896 setToggle_Widget(findChild_Widget(dlg, "prefs.gemtext.ansi.fg"),
2893 d->prefs.gemtextAnsiEscapes & allowFg_AnsiFlag); 2897 d->prefs.gemtextAnsiEscapes & allowFg_AnsiFlag);
2898 setToggle_Widget(findChild_Widget(dlg, "prefs.gemtext.ansi.bg"),
2899 d->prefs.gemtextAnsiEscapes & allowBg_AnsiFlag);
2894 setToggle_Widget(findChild_Widget(dlg, "prefs.gemtext.ansi.fontstyle"), 2900 setToggle_Widget(findChild_Widget(dlg, "prefs.gemtext.ansi.fontstyle"),
2895 d->prefs.gemtextAnsiEscapes & allowFontStyle_AnsiFlag); 2901 d->prefs.gemtextAnsiEscapes & allowFontStyle_AnsiFlag);
2896 setToggle_Widget(findChild_Widget(dlg, "prefs.font.smooth"), d->prefs.fontSmoothing); 2902 setToggle_Widget(findChild_Widget(dlg, "prefs.font.smooth"), d->prefs.fontSmoothing);