hyper
hyper copied to clipboard
Printing too many bell characters causes Hyper to crash
- [X] I am on the latest Hyper.app version
- [X] I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: Ubuntu 22.04 x86_64
- Hyper.app version: 3.3.0
- Link of a Gist with the contents of your .hyper.js: This is a fresh install of hyper
- Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
- The issue is reproducible in vanilla Hyper.app: Yes
Issue
This is a bit of a weird one, but I've noticed it's possible to crash Hyper if you print too many bell codes ("\a" to be explicit).
For example, if we run this script with python3:
bell = ""
i = 0
while i < 100000:
bell += "\a"
i += 1
print("Bing!" + bell)
Hyper "chimes", and then crashes.
This isn't an issue if we reduce the bells to be "printed" from 100,000 to 10,000 (although it does create an awful sound).
Hi @ooyendyk , could i take this issue? I would like to contribute to it. Thanks :)
Of course @prsndp. I don't have permission to assign the issue to you, but feel free to do what ever you want!