mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
d1db4a11ef
What's done here: - Call releaseLock() on the stdin reader, which immediately cancels any active reads and prevents new ones. - Adjust BetterReader to pass releaseLock() on, and handle the input ending, and expose how much input was read into a buffer if it's partially filled. - Add an error message when the one user of read(opt_buffer) gets too small a buffer. That last one is readline trying to read 1 byte, and we currently infinitely loop on that after exiting a process. So this is definitely not correct but it feels like it's the right direction. |
||
---|---|---|
.. | ||
backend | ||
phoenix | ||
puter-js | ||
puter-js-common | ||
terminal |