helix
helix copied to clipboard
Running a shell command breaks terminal sequences
Summary
After running a shell command some inputs don't work anymore.
I ran into these two:
- mouse input has no effect
- CtrlC sends a keyboard interrupt and kills helix, instead of toggling a comment
It's worth noting that :pipe
does not cause this broken behavior.
Reproduction Steps
- run helix
-
:sh echo hi
- try using the mouse or toggling a comment (CtrlC)
Helix log
nothing of interest
Platform
Windows 10 x64
Terminal Emulator
wezterm (nightly)
Helix Version
helix 22.05 (3e11017a)
It looks like this may be the culprit. But not sure why we lose some input control.
3121353c6ab2fbc5fced28f075c7fc45b53b661e
This may be Windows specific; I can't reproduce on linux.
Hope #3379 fixes the issue, let me know if we need to reopen! Thanks to @AceofSpades5757 for the quick fix 🎉
Yup, this has fixed the issue for me 👍