Windows build number: 10.0.18363.0
Windows Terminal version (if applicable): 0.10.761.0
let &t_SI .= "\<Esc>[5 q"
let &t_EI .= "\<Esc>[0 q"
The shape does change as what we expect, but I observed weird behaviors after that.
ESC character can also be the start of a character sequence representing another key, so VIM needs to wait and see if there are more characters following before it can be certain you've actually pressed Esc. Again, this is expected behaviour.DECSCUSR 0 is officially defined as the block cursor so that's why you get a block on exit. Some terminals do interpret that as the user's preferred cursor, though, and it's possible we may support that one day too (see issue #1604)Thanks for the comprehensive writeup, James. :smile:
Most helpful comment
ESCcharacter can also be the start of a character sequence representing another key, so VIM needs to wait and see if there are more characters following before it can be certain you've actually pressed Esc. Again, this is expected behaviour.DECSCUSR 0is officially defined as the block cursor so that's why you get a block on exit. Some terminals do interpret that as the user's preferred cursor, though, and it's possible we may support that one day too (see issue #1604)