gocui: [BUG] Mouse handling delayed in neovim terminal
Describe the bug
Mouse clicks inside neovim terminal are delayed until the next system event.
Mouse handling works fine with jroimartin/gocui
To Reproduce Steps to reproduce the behavior:
- Open nvim
- Open the nvim terminal with
:term
- Run a gocui project that uses the
MouseLeft
keybinding - Notice that nothing happened
- Press a random key on the keyboard
- Notice that the mouse press is now detected
Expected behavior The mouse click should be detected immediately
Environment (please complete the following information):
- OS: macOS catalina
- nvim 0.5
Context
- Calling
g.Update
does not help MouseRelease
is trigged (although not on release)`
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (5 by maintainers)
@dankox Just tried out the _demos/mouse.go and now i see the problem the issue describes also on linux with neovim v0.6.0