render: move blink timer handling to term.c

This commit is contained in:
Daniel Eklöf 2019-12-17 19:11:27 +01:00
parent 5f2592bd4b
commit 418ff5bcd9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 35 additions and 51 deletions

View file

@ -296,7 +296,6 @@ struct terminal {
struct coord actual; /* Absolute */
struct coord in_view; /* Offset by view */
struct cell *cell; /* For easy access to content */
int blink_state;
} last_cursor;
struct buffer *last_buf; /* Buffer we rendered to last time */
@ -365,6 +364,8 @@ void term_scroll_reverse_partial(
void term_linefeed(struct terminal *term);
void term_reverse_index(struct terminal *term);
void term_arm_blink_timer(struct terminal *term);
void term_restore_cursor(struct terminal *term);
void term_focus_in(struct terminal *term);