Closed bogdan-the-great closed 11 months ago
@piotr-marendowski there is no code is this plugin to mess with a user's cursor at all. I really can't speak for the behaviour of TUI apps inside neovim vs outside or anything. Only that this plugin doesn't have logic like this. Lazygit is the only of your examples I use and it just highlights the cursor it's own way outside of neovim as well this tends to be something that TUI frameworks handle themselves.
If you mean that you can't move the cursor separate to the TUI app, then this is because the TUI app has focus and is in control of the cursor you could use whatever your terminal mapping to enter normal mode is to change this if you want but essentially this plugin doesn't steal or colour the cursor
Is there an existing issue for this?
Current Behavior
When normally scrolling down in toggleterm cursor hides and then reappears when scrolling action is over. Same behavior on the minimal config. Neovim's default terminal doesn't have this issue. Both fff and lazygit are lagging. Same with bash.
Expected Behavior
To scroll normally like everywhere else.
Steps To Reproduce
Environment
Anything else?
https://github.com/akinsho/toggleterm.nvim/assets/37738748/4e958dca-b15e-448f-a2c0-8702a8123111