Cursor shape isn't restored (on nvim)
I am having an issue with the cursor shape: it isn't restored when switching from insert to normal (and vice-versa) on neovim. It works correctly on other terminals (tested on wezterm and ghostty).
Steps to reproduce:
- open vim
- enter insert mode (via i or a)
- cursor does not change to input mode cursor. It stays a block when it should be a vertical line.
- If you move the cursor around, it changes to the vertical line.
The opposite also happens, that is, if you are in insert mode and switch to normal mode, the cursor does not change to block until you move the cursor around (This is true if you are in an empty line). If you are on top of a character, the cursor behaves normally.
Interestingly, if you enter insert mode via "o", the cursor behaves correctly. Probably because it changes position automatically.
I am using rioterm 0.2.2. Linux (arch).
I am having a similar/the same issue on Windows, rio 0.2.12 and nvim 0.11.0, except that for me the cursor stays the same, even if I move it.