-
Notifications
You must be signed in to change notification settings - Fork 5
terminal "goes dead" after quitting a TUI application #12
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
Comments
Do you mean after hitting Ctrl+C? |
Nope, just normal exiting. In one of your examples, it's |
Are you calling TerminalUserInterfaces.jl/src/utils.jl Lines 202 to 217 in 4217d1a
One I'm not surprised that that when you don't call When you hit |
Yup, I'm literally just running your examples. Yes, I do see the cursor after quitting normally with Note that I have just tried this on a different computer, just for the hell of it. Both are in If I had to guess, I'd say this isn't getting out of raw mode for some reason, but I have no idea why. |
Yeah it does seem like a bug in the termios restore. I’m just trying to figure out what that is. When you are in that “dead” state, what happens if you type |
Note for myself, this is potentially related to this issue: kdheepak/TERMIOS.jl#6 |
Typing |
I think I'm hitting the same problem. More specifically, when running an example like |
copying the code examples straight from GitHub and pasting in the REPL also leads to the REPL freezing/dying. Everything works while in the example until using 'q'. The program exits, I'm back in REPL, and cannot do anything but terminate the process. |
Can you tell me what terminal / operating system? |
Can someone who has had this issue try it again in v0.3.0: https://github.com/kdheepak/TerminalUserInterfaces.jl/releases/tag/v0.3.0 It should be resolved now (I've updated the examples too, there's no longer a |
Any time a break a loop (and I don't mean through an error, just normally), the terminal "goes dead" meaning that it no longer appears to accept any user input. I figured this was coming from somewhere in
TUI.cleanup()
(since the programs themselves seemed to work normally) but this seems to happen even ifTUI.cleanup()
is not called, so something seems to be going wrong before this.This is happening on alacritty. I happened to have
gnome-terminal
on this machine so I checked that, and I get the same behavior, so it probably isn't terminal specific.The text was updated successfully, but these errors were encountered: