csi: implement FocusIn/Out events

This commit is contained in:
Daniel Eklöf 2019-07-16 10:34:08 +02:00
parent 9929e902a6
commit 7f6a4f4b6b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 29 additions and 0 deletions

View file

@ -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,