mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-06 01:40:22 -05:00
term: add term_visual_focus_{in,out}
These functions should be called when the terminal gets or loses visual focus. Note that this isn't necessarily the same as having keyboard focus.
This commit is contained in:
parent
4be3c04999
commit
6f281cebfb
2 changed files with 19 additions and 8 deletions
|
|
@ -378,6 +378,8 @@ void term_arm_blink_timer(struct terminal *term);
|
|||
|
||||
void term_restore_cursor(struct terminal *term);
|
||||
|
||||
void term_visual_focus_in(struct terminal *term);
|
||||
void term_visual_focus_out(struct terminal *term);
|
||||
void term_kbd_focus_in(struct terminal *term);
|
||||
void term_kbd_focus_out(struct terminal *term);
|
||||
void term_mouse_down(struct terminal *term, int button, int row, int col);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue