diff options
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2110,6 +2110,7 @@ term_reset(struct terminal *term, bool hard) term->insert_mode = false; term->bracketed_paste = false; term->focus_events = false; + term->visibility_reports = false; term->num_lock_modifier = true; term->bell_action_enabled = true; term->mouse_tracking = MOUSE_NONE; @@ -3316,6 +3317,14 @@ term_visual_focus_out(struct terminal *term) } void +term_send_visibility_report(struct terminal *term) +{ + term_to_slave( + term, + !term->window->is_suspended ? "\033[?999;1n" : "\033[?999;2n", 9); +} + +void term_kbd_focus_in(struct terminal *term) { if (term->kbd_focus) |
