Closed simsrw73 closed 10 months ago
That panic is in twin
's main loop. Apparently stdin
gets closed when you do that:
@simsrw73 can you try this build and see what happens?
I don't have access to Windows so I can't test it myself.
Not sure whether this fixes the whole problem, but I think it is at least one step on the way.
I believe this should work in 1.16.0.
If not, please comment + reopen!
Doesn't matter which shell: pwsh or cmd, both exhibit the same behavior. But it only seems to affect Windows Terminal. Does not affect WezTerm or Alacritty.
Pressing the Break key terminates moar It terminates moar and leaves the terminal in a somewhat broken state: trying to scroll the buffer with mouse or use cursor keys just output escape sequences to the terminal.