-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving cursor forces user out of terminal mode (i3) #1838
Comments
I am experiencing this as well. It appears to have started happening in Neovide version 0.10.4 in confjunction with Neovim Version 0.9, as it was not happening to me before that. |
Found temporal solution. |
That resolved the issue for me, but it also hints at what the actual problem is: Neovide is ignoring the value of The documentation for the Neovim terminal is worded in such a way that I can't tell if this is a bug or not. I think it's not, since the help file says focus is lost from the terminal if the program running in it doesn't catch a mouse event. |
Yes, we should fix the |
@amv-dev awesome thanks for this |
@9mm, I'm answering this here (from #1988 (comment)):
@TheDreadedAndy, explained why that happens, More specifically these lines in the documentation https://github.com/neovim/neovim/blob/27a566f3f8e07a4cebb426674800bdf9a7f4f222/runtime/doc/nvim_terminal_emulator.txt#L92-L93
What this really means, is that it will exit the terminal mode unless the terminal app you are running handles the mouse: Then it will stay in the terminal mode as long as the dialog is open, and you can click the buttons with the mouse. The reason why properly respecting NOTE: You might want to have |
And thinking more about it, I think this is something that should be reconsidered on the Neovim side as well. It makes totally sense that mouse clicks exit the terminal mode, so that you are able to easily select and copy some text. But I can't really see any use cases of exiting the terminal mode when the mouse is moved. Edit: The scroll wheel should also probably exit the terminal mode |
Is this issue resolved? When I move the mouse, it automatically enters normal mode from terminal mode. |
Describe the bug
When a terminal buffer is open and in terminal node, moving the cursor inside the neovide window forces the user into normal mode. This does not occur when in e.g. insert mode in a text buffer, and is only present in neovide, not terminal neovim.
To Reproduce
Steps to reproduce the behavior:
:terminal
and enter terminal modeExpected behavior
The buffer remains in terminal mode until keyboard input forces it out
Desktop (please complete the following information):
Please run
neovide --log
and paste the contents of the.log
file created in the current directory here:Log is very long (2670 lines). I can provide it elsewhere if necessary.
The text was updated successfully, but these errors were encountered: