-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Resetting terminal cursor shape after exiting helix seems broken in 24.03 #10089
Comments
Relevant comment from @kladd #8591 (comment) that I've originally missed since it was made after the PR was already merged |
We should probably check what vim does and copy that. Terminfo is just a garden of weirdly noncompatible stuff (as is everything with terminals in general) |
Same behavior for me. |
Are we planning to backport this to 24.03? It seems like it could be a significant regression. |
Oh god that is an abomination. Probably need to implement that since we don't allow people to override escape sequences themselves |
I think we'd want to add it to this function: helix/helix-tui/src/backend/crossterm.rs Lines 57 to 78 in 97afd67
|
temporary workaround for # FIXME: remove once https://github.com/helix-editor/helix/issues/10089 is fixed
function hx
command hx $argv
printf '\033[0 q'
end EDIT: doesn't reset the cursor if helix is run in other ways, e.g. via |
#6565 is related |
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: #10089
Having the same problem since updating to nixos 24.05. |
fixed by #10769 |
Still not working properly in iTerm2 (and Apple Terminal) after the fix. Screen.Recording.2024-06-05.at.23.29.07.mov |
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
I still have this problem too, on Tilix (VTE-based) with |
I am also still experiencing this issue on iTerm2 after building at 9b7dffb. |
Reopening to track why it hasn't been fixed |
using a terminfo's cnorm doesn't reset the cursor for many terminals, see issue: helix-editor#10089
Discussed in #10071
Originally posted by wyw March 31, 2024
Screen.Recording.2024-03-31.at.21.32.39.mov
Related issue & PR:
Resetting the terminal cursor shape after exiting helix worked before the commit 553ffbc in version a276726:
Screen.Recording.2024-03-31.at.22.24.24.mov
The text was updated successfully, but these errors were encountered: