summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 9519c819f..7aa0a408e 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2624,8 +2624,10 @@ create_vterm(term_T *term, int rows, int cols)
fg->blue = tmp;
# endif
}
+# ifdef FEAT_TERMRESPONSE
else
term_get_fg_color(&fg->red, &fg->green, &fg->blue);
+# endif
if (cterm_normal_bg_color > 0)
{
@@ -2636,8 +2638,10 @@ create_vterm(term_T *term, int rows, int cols)
bg->blue = tmp;
# endif
}
+# ifdef FEAT_TERMRESPONSE
else
term_get_bg_color(&bg->red, &bg->green, &bg->blue);
+# endif
}
vterm_state_set_default_colors(vterm_obtain_state(vterm), fg, bg);