From 7f6a4f4b6bc5c66898efe2ccb588d0aa1e74c525 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 16 Jul 2019 10:34:08 +0200 Subject: csi: implement FocusIn/Out events --- terminal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 9af18d7e..b2aaee67 100644 --- a/terminal.h +++ b/terminal.h @@ -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, -- cgit v1.3