You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use bar cursor shape and would like to use it in Helix too! Can the cursor shape reset be optional and/or configurable?
It seems to me that the relevant code lines are the following (I did just very quick search for it):
Nice! The last issue I see now is that the editor command line is still using the block shape and that shape (or perhaps some of the resets above) causes that cursor is changed after exiting the editor in the terminal.
The easiest fix would be to add option to switch cursor shape settings off completely (for people who would like the editor not touch the cursor shape at all).
Second fix could be to add cursor shape settings for the editor command line mode as well and (and I know it's ugly) for exiting the editor so that a user can tell what cursor shape he wants to be set when editor exits.
That's because AFAIK no terminal control sequence exists to report the terminal's cursor shape settings so that it could be recorded on editor start and there is therefor no nice way to cope with this issue.
I use bar cursor shape and would like to use it in Helix too! Can the cursor shape reset be optional and/or configurable?
It seems to me that the relevant code lines are the following (I did just very quick search for it):
helix/helix-tui/src/backend/crossterm.rs
Line 141 in 9420ba7
helix/helix-tui/src/backend/crossterm.rs
Line 161 in 9420ba7
The block cursor shape after the reset is very annoying to my eyes. Thank you.
The text was updated successfully, but these errors were encountered: