mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
render: move blink timer handling to term.c
This commit is contained in:
parent
5f2592bd4b
commit
418ff5bcd9
3 changed files with 35 additions and 51 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue