diff src/proto/terminal.pro @ 26462:3af56224dca6 v8.2.3761

patch 8.2.3761: focus change is not passed on to a terminal window Commit: https://github.com/vim/vim/commit/a48d4e44a24191f5495e17d7616771c20ae3e3c1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 8 22:13:38 2021 +0000 patch 8.2.3761: focus change is not passed on to a terminal window Problem: Focus change is not passed on to a terminal window. Solution: If the current window is a terminal and focus events are enabled send a focus event escape sequence to the terminal.
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Dec 2021 23:15:04 +0100
parents d25c0b0aad7d
children 30abd8e55ee5
line wrap: on
line diff
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -18,6 +18,7 @@ int terminal_is_active(void);
 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg);
 int term_use_loop(void);
 void term_win_entered(void);
+void term_focus_change(int in_focus);
 int terminal_loop(int blocking);
 int may_close_term_popup(void);
 void term_channel_closing(channel_T *ch);