Skip to content
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

:wq! on a readonly file messes up terminal #2879

Closed
sbromberger opened this issue Jun 25, 2022 · 2 comments
Closed

:wq! on a readonly file messes up terminal #2879

sbromberger opened this issue Jun 25, 2022 · 2 comments
Labels
C-bug Category: This is a bug

Comments

@sbromberger
Copy link
Contributor

sbromberger commented Jun 25, 2022

Summary

Using a current master build, editing a read-only file. After :wq!, helix exits after printing a message (presumably to stderr), but then the terminal is now unusable:

Reproduction Steps

https://asciinema.org/a/ozdi9SR4LFNV8G75zBXXju0tT

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

Linux

Terminal Emulator

blink.sh + mosh + tmux

Helix Version

22.05-162-g08062b7c

@sbromberger sbromberger added the C-bug Category: This is a bug label Jun 25, 2022
@sbromberger
Copy link
Contributor Author

More info: looks like helix doesn't restore isig when it terminates this way. Manually doing stty isig fixes the problem.

@the-mikedavis
Copy link
Member

Duplicate of #2863

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants