aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-20 19:04:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-20 19:04:47 +0000
commit2c101a21ee6df096dadd60a77b4cb190f8503490 (patch)
tree44cd2bbd1e92c7a075f22e9e8f991ae064e49774 /config.h
parentosc: change info logging to debug logging when changing the cursor color (diff)
config: add font-bold, font-italic and font-bold-italic options
These options lets the user configure custom fonts and styles, to use with the bold and italic cell attributes. By default, they are unset, meaning we use the bold/italic variants of the regular font. Closes #169.
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h b/config.h
index d9a6f901..7313f42f 100644
--- a/config.h
+++ b/config.h
@@ -16,6 +16,7 @@ struct config_font {
double pt_size;
int px_size;
};
+typedef tll(struct config_font) config_font_list_t;
struct config_key_modifiers {
bool shift;
@@ -77,7 +78,7 @@ struct config {
enum { STARTUP_WINDOWED, STARTUP_MAXIMIZED, STARTUP_FULLSCREEN } startup_mode;
- tll(struct config_font) fonts;
+ config_font_list_t fonts[4];
struct {
int lines;