summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-11-23 12:39:57 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-11-23 12:39:57 +0200
commit9f0a3238a9d99eaad3b314266152af5562f74772 (patch)
treedbeb81dde79925b35e4e8748a8e7303f574a5d25 /src/ui/util.c
parent71b93a446de83d4f8582a60f809f0108afc95add (diff)
Preferences: Option for ANSI background color (SGR)
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index bc9c2825..92bf7000 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2657,6 +2657,11 @@ iWidget *makePreferences_Widget(void) {
2657 setFlags_Widget(tog, fixedWidth_WidgetFlag, iFalse); 2657 setFlags_Widget(tog, fixedWidth_WidgetFlag, iFalse);
2658 updateSize_LabelWidget((iLabelWidget *) tog); 2658 updateSize_LabelWidget((iLabelWidget *) tog);
2659 setTextCStr_LabelWidget( 2659 setTextCStr_LabelWidget(
2660 addChild_Widget(ansi, tog = iClob(makeToggle_Widget("prefs.gemtext.ansi.bg"))),
2661 "${prefs.gemtext.ansi.bg}");
2662 setFlags_Widget(tog, fixedWidth_WidgetFlag, iFalse);
2663 updateSize_LabelWidget((iLabelWidget *) tog);
2664 setTextCStr_LabelWidget(
2660 addChild_Widget(ansi, tog = iClob(makeToggle_Widget("prefs.gemtext.ansi.fontstyle"))), 2665 addChild_Widget(ansi, tog = iClob(makeToggle_Widget("prefs.gemtext.ansi.fontstyle"))),
2661 "${prefs.gemtext.ansi.fontstyle}"); 2666 "${prefs.gemtext.ansi.fontstyle}");
2662 setFlags_Widget(tog, fixedWidth_WidgetFlag, iFalse); 2667 setFlags_Widget(tog, fixedWidth_WidgetFlag, iFalse);