Open 0xDEC0DE opened 7 months ago
If the generator exits "normally", the terminal works fine. It's only when doing things like error handling that it goes sideways.
Successfully reproduced this problem using bash, but failed to reproduce using zsh in my case (also macos)
Hi @0xDEC0DE, thank you for the detailed bug report and the repro! I found a solution for the problem in #2775, if this is still relevant to you and you have time for it I'd be happy to receive feedback and/or a quick review 👍
Steps to reproduce
Run the following test case:
Attempt to use the terminal afterwards
Expected result
A working terminal.
Actual behavior
Newlines and output are obscured. Commands may be entered, but they are not displayed.
Workaround
Run the
reset
command after the command terminates.Environment:
Reproducible on OS X and Ubuntu (x86_64):