term: rename colors256 -> table

This commit is contained in:
Daniel Eklöf 2019-08-21 18:50:24 +02:00
parent 631e0c0870
commit d8fb80ea32
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 19 additions and 25 deletions

View file

@ -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};