Closed maartene closed 5 months ago
Fix for issue https://github.com/rensbreur/SwiftTUI/issues/25 - Can't get cursor back after closing the examples using Ctrl-C or Ctrl-D in SSH session
Resets ECHO and ICANON flags, allowing SwiftTUI to work correctly with bash and csh shell. Tested with zsh, tcsh, bash and csh on Linux. And zsh and bash on macOS.
bash
csh
zsh
tcsh
Hi Maarten, thank you for opening a PR! I will check it later and then merge 🙏
Your fix works great, thank you! 🙌 I never checked using bash and never noticed it's broken.
Fix for issue https://github.com/rensbreur/SwiftTUI/issues/25 - Can't get cursor back after closing the examples using Ctrl-C or Ctrl-D in SSH session
Resets ECHO and ICANON flags, allowing SwiftTUI to work correctly with
bash
andcsh
shell. Tested withzsh
,tcsh
,bash
andcsh
on Linux. Andzsh
andbash
on macOS.