Repository navigation
Fixed
- Output written before the first
onDatalistener 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()andonData()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
- 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
Changed
- The repository moved to sursatech/bun-pty. Old
sursaone/bun-ptylinks and clones redirect.
Thanks to @btriapitsyn for the contribution!