ConEmu
ConEmu copied to clipboard
NeoVim doesn't seem to receive focus event
Hello,
Versions
ConEmu build: 210822 x64 OS version: Windows 10 x64 Used shell version : powershell
Problem description
When using plugins https://github.com/jeffkreeftmeijer/vim-numbertoggle which change numbering format when vim gain or lost focus, neovim doesn't seem to receive focus event and numbering format do not change.
- How to reproduce
- What is the expected behavior.
For now, the issue looks incomplete.
I have raised this issue thinking its a problem with neovim: https://github.com/neovim/neovim/issues/18901, but apparently its a problem with terminal apps that are not handling required events, according to: https://github.com/neovim/neovim/issues/18901#issuecomment-1152837532
@Maximus5
- How to reproduce
Copied from issue mentioned above:
- Start with no config: nvim --clean
- Register autocommands for Focus* events:
autocmd FocusLost * echo 'FocusLost' autocmd FocusGained * echo 'FocusGained'
- Change focus to another window
- Notice no message will appear
- Change focus back to terminal
- Notice there is still no message displayed
Expected behavior
- What is the expected behavior.
Events should fire displaying FocusLost
and FocusGained
as terminal window gains and loses focus.