Skip to content

v0.6.1

Latest

Choose a tag to compare

@sursaone sursaone released this 16 Nov 09:23

Fixed

  • Output written before the first onData listener is no longer lost (#53, #54)
    • bun-pty keeps the newest 512 KiB of UTF-8, cut only between whole characters, and delivers it to the first listener (and any added in the same tick) just after onData() returns
    • Before, a consumer that awaited anything between spawn() and onData() lost the shell's first prompt, or all of a fast command's output
    • A consumer that subscribes in the same tick as spawn() sees no change

Changed

  • The repository moved to sursatech/bun-pty. Old sursaone/bun-pty links and clones redirect.

Thanks to @btriapitsyn for the contribution!