aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-05 07:08:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-05 07:08:58 +0000
commit28d05a5528dbd2ecf50e8d55ccb88c587d77e026 (patch)
treea240101ed6cdbde170bda0ef623a418a0c85cc7e
parentrender: force a full redraw when we cannot reuse last buffer (diff)
main: initialize colors in VT state
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 8e761812..9ac90b7d 100644
--- a/main.c
+++ b/main.c
@@ -878,6 +878,10 @@ main(int argc, char *const *argv)
.auto_margin = true,
.vt = {
.state = 1, /* STATE_GROUND */
+ .attrs = {
+ .foreground = default_foreground,
+ .background = default_background,
+ },
},
.kbd = {
.repeat = {