Skip to content

zeropty 0.1.2

Choose a tag to compare

@CreatiCoding CreatiCoding released this 20 Oct 23:23
· 20 commits to main since this release
04160fa

Fixed

  • zeropty-tty: /dev/tty opened for reading and writing (fzf with its stdin piped in) could read keys but every write failed with EBADF, so fzf drew no list and took no pick. A session's terminal is now one socket, as a PTY is one file: stdin, stdout and stderr are that socket (stdin was a pipe), and /dev/tty in any mode is it. C-d still ends input for good, and output keeps flowing after it. As on a PTY, O_NONBLOCK set on one of stdin, stdout and stderr is now set on all three. Sessions started by an older server and kept by restart-server keep their input pipe; sessions started by this version should not be handed back to 0.1.1 or earlier (C-d would not reach them).

Full changes: v0.1.1...v0.1.2

CHANGELOG · 한국어 · Versioning