Closed igor-ramazanov closed 1 year ago
Oh wait, I guess I can do that already by myself.
Yes, you already do that: https://github.com/oyvindberg/tui-scala/blob/master/tui/src/scala/tui/withTerminal.scala#L19
For some reason does not work for me, but likely the issue on my side.
Appreciate the repo!
If a program finishes, then the terminal keeps staying in the Raw mode.
Would be nice to put it back into the canonical state.
Useful link: https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode.html