-
-
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
Helix navigation breaks after shell execution failed #11853
Comments
I'm facing the same issue when integrating lazygit as suggested here #12045. It seems that commands can steal mouse from helix and that helix doesn't check that. For now, to work around this case, we can disable and re-enable mouse after interactive commands:
|
I'm on NixOS and I'm using rio and I can't reproduce the issue. I did the following:
everything worked as expected. Maybe it's somehow related to the windows terminal? |
Lazgit is a tui (and therefore causiing issues), running any TUI with sh is unsupported and will not work properly. We have absolutely no plan to change that |
Using WezTerm still produces this issue wez.mp4And the config does not matter too. Using the default config still has this problem. I will try to understand why it happens. Downloaded the prebuilt helix in github and everything works fine. Still don't know what caused this strange behavior though.. |
Summary
Helix supports executing shell commands via
If the execution is failed, cursor in the buffer behave strangely.
Reproduction Steps
sh shakfjhaskljfh
in command mode.my config file:
Helix log
2024-10-08T15:26:16.125 helix_term::commands [ERROR] Shell error: sh: line 1: hhh: command not found
Platform
WSL opensuse-tumbleweed
Terminal Emulator
Windows Terminal
Installation Method
zypper
Helix Version
helix 24.7 (079f544)
The text was updated successfully, but these errors were encountered: