mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-30 11:10:23 -04:00
csi: implement FocusIn/Out events
This commit is contained in:
parent
9929e902a6
commit
7f6a4f4b6b
4 changed files with 29 additions and 0 deletions
|
|
@ -216,6 +216,7 @@ struct terminal {
|
|||
bool auto_margin;
|
||||
bool insert_mode;
|
||||
bool bracketed_paste;
|
||||
bool focus_events;
|
||||
enum mouse_tracking mouse_tracking;
|
||||
enum mouse_reporting mouse_reporting;
|
||||
|
||||
|
|
@ -296,6 +297,8 @@ void term_scroll_reverse_partial(
|
|||
void term_linefeed(struct terminal *term);
|
||||
void term_reverse_index(struct terminal *term);
|
||||
|
||||
void term_focus_in(struct terminal *term);
|
||||
void term_focus_out(struct terminal *term);
|
||||
void term_mouse_down(struct terminal *term, int button, int row, int col,
|
||||
bool shift, bool alt, bool ctrl);
|
||||
void term_mouse_up(struct terminal *term, int button, int row, int col,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue