aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index b7133186..3101056d 100644
--- a/terminal.c
+++ b/terminal.c
@@ -65,6 +65,8 @@ term_reset(struct terminal *term, bool hard)
term->colors.regular[i] = term->colors.default_regular[i];
term->colors.bright[i] = term->colors.default_bright[i];
}
+ for (size_t i = 0; i < 256; i++)
+ term->colors.colors256[i] = term->colors.default_colors256[i];
term->print_needs_wrap = false;
term->cursor = (struct coord){0, 0};
term->saved_cursor = (struct coord){0, 0};