]> granicus.if.org Git - vim/commit
patch 8.2.3761: focus change is not passed on to a terminal window v8.2.3761
authorBram Moolenaar <Bram@vim.org>
Wed, 8 Dec 2021 22:13:38 +0000 (22:13 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 8 Dec 2021 22:13:38 +0000 (22:13 +0000)
commita48d4e44a24191f5495e17d7616771c20ae3e3c1
tree276dd6e4c575048f0502ec6ee0f9b84bdf0b8a44
parent48873aebc05608e9e5e56b8628ae6d2789ab7c48
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.
src/proto/terminal.pro
src/terminal.c
src/testdir/dumps/Test_terminal_focus_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_terminal_focus_2.dump [new file with mode: 0644]
src/testdir/test_terminal.vim
src/ui.c
src/version.c