Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
26461:97613c2162af | 26462:3af56224dca6 |
---|---|
16 int send_keys_to_term(term_T *term, int c, int modmask, int typed); | 16 int send_keys_to_term(term_T *term, int c, int modmask, int typed); |
17 int terminal_is_active(void); | 17 int terminal_is_active(void); |
18 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); | 18 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); |
19 int term_use_loop(void); | 19 int term_use_loop(void); |
20 void term_win_entered(void); | 20 void term_win_entered(void); |
21 void term_focus_change(int in_focus); | |
21 int terminal_loop(int blocking); | 22 int terminal_loop(int blocking); |
22 int may_close_term_popup(void); | 23 int may_close_term_popup(void); |
23 void term_channel_closing(channel_T *ch); | 24 void term_channel_closing(channel_T *ch); |
24 void term_channel_closed(channel_T *ch); | 25 void term_channel_closed(channel_T *ch); |
25 void term_check_channel_closed_recently(void); | 26 void term_check_channel_closed_recently(void); |