mirror of
https://github.com/neovim/neovim.git
synced 2026-11-02 20:30:40 -06:00
Using the `curbuf->terminal` condition alone is wrong since it does not necessarily mean nvim is in terminal mode. It needs to be used with `State & TERM_FOCUS` because the current buffer could have changed without `terminal_enter` exiting. Close #3403