aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-21 16:50:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-21 16:50:24 +0000
commitd8fb80ea32d3054ea0455b841e60677c86470fbb (patch)
treef61283b05352ea871362d6690a3944b502621570 /terminal.c
parentterm: use colors256 array for *all* colors (diff)
term: rename colors256 -> table
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 593bf8ff..b80093a0 100644
--- a/terminal.c
+++ b/terminal.c
@@ -62,7 +62,7 @@ term_reset(struct terminal *term, bool hard)
term->colors.fg = term->colors.default_fg;
term->colors.bg = term->colors.default_bg;
for (size_t i = 0; i < 256; i++)
- term->colors.colors256[i] = term->colors.default_colors256[i];
+ term->colors.table[i] = term->colors.default_table[i];
term->print_needs_wrap = false;
term->cursor = (struct coord){0, 0};
term->saved_cursor = (struct coord){0, 0};