1
0
forked from wrenn/wrenn

v0.1.4 (#38) — pipeline test 2
Some checks failed
ci/woodpecker/push/pipeline Pipeline failed

This commit is contained in:
Tasnim Kabir Sadik
2026-05-02 23:40:20 +06:00
parent 52ad21c339
commit 75b5eedaa3
28 changed files with 955 additions and 117 deletions

View File

@ -162,7 +162,7 @@ type eventProvider interface {
// drainPtyStream reads events from either a Start or Connect stream and maps
// them into PtyEvent values on a channel.
func drainPtyStream(ctx context.Context, stream eventProvider, expectStart bool) <-chan PtyEvent {
ch := make(chan PtyEvent, 16)
ch := make(chan PtyEvent, 256)
go func() {
defer close(ch)
defer stream.Close()