Closed craigmac closed 1 year ago
... prevent someone from making this mistake on your end ...
The asterisk will typically be expanded by your shell. This is not a problem that most general users will encounter. We can't stop people from doing meaningless things. And kitty will do whatever you tell it to do. So don't do that.
... no way I could recover from it ...
But I think we should address this issue.
https://sw.kovidgoyal.net/kitty/faq/#i-catted-a-binary-file-and-now-kitty-is-hung
I can reproduce this.
This is basically outputting binary data, which will cause the GUI main thread to lock up and become unresponsive under macOS, and executing Close Window
, Quit
will not be possible.
So there is no chance to reset the terminal either.
I can execute kitty --config data.bin
in other popular terminals under macOS long enough,
and close it within a second by pressing Ctrl+C
, closing the window, or quitting the app.
But not in kitty.
Describe the bug Yeah, it's probably stupid that I did that, but there's no way I could recover from it and had to force quit kitty. Reporting in case there's a way to prevent someone from making this mistake on your end. I tried
kitty --config
at first and seeing it required an argument then triedkitty --config <Tab>
and for whatever reason, it's Friday?, I triedkitty --config *
and hit Enter, freezing kitty. I let it go for over two minutes before force quitting, C-c,To Reproduce Steps to reproduce the behavior:
kitty --config *
Screenshots
Screenshots If applicable, add screenshots to help explain your problem.
Environment details