8 Commits

Author SHA1 Message Date
52916d2f4a Rewrite POSIX Tty to actually use the TTY (#805)
And a PTY for testing. Windows still uses stdin/stdout for now.
2025-03-19 20:27:29 +00:00
91fa7b568f Throw dedicated EofException for EOF (#799) 2025-03-15 23:43:30 -04:00
7d5f4db29c Return DebugEvent directly from nextDebug (#797) 2025-03-15 04:27:19 +00:00
d71f455e18 Rename TerminalParser to EventParser (#796) 2025-03-15 04:14:21 +00:00
a9441cc34f Eliminate terminal event package (#795) 2025-03-15 03:57:21 +00:00
3736dd4e71 Make copyBuffer public API (#791)
It could be useful, and avoids the whole TestApi nonsense.
2025-03-13 23:55:47 -04:00
ad9a59223f Add Tty.reset API (#789)
Allows reusing the bound Tty after useAsTerminal, or to just skip freeing resources if the process is exiting.
2025-03-13 15:42:37 -04:00
d77614b518 Split Terminal API from TTY Terminal implementation (#785)
This fixes the public API problem in the runtime.

Expose a TestTerminal from the testing library as well.
2025-03-13 15:30:10 +00:00