diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-20 19:04:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-20 19:04:47 +0000 |
| commit | 2c101a21ee6df096dadd60a77b4cb190f8503490 (patch) | |
| tree | 44cd2bbd1e92c7a075f22e9e8f991ae064e49774 /config.h | |
| parent | osc: 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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |
