term: reset: kill blink timer

This commit is contained in:
Daniel Eklöf 2020-10-13 19:28:42 +02:00
parent 1f650a7fdf
commit 2cac832ef3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1468,6 +1468,7 @@ term_reset(struct terminal *term, bool hard)
term->flash.active = false;
term->blink.state = BLINK_ON;
fdm_del(term->fdm, term->blink.fd); term->blink.fd = -1;
term->colors.fg = term->colors.default_fg;
term->colors.bg = term->colors.default_bg;
for (size_t i = 0; i < 256; i++)