Enlarge the PTY out read buffer

Should be at least 128KiB according to lhecker++.
This commit is contained in:
Patrick Böker 2026-01-03 23:45:35 +01:00
parent a1008b1f6a
commit 745853459e

View File

@ -1037,7 +1037,7 @@ typedef struct {
HANDLE pty_out_read;
uv_pipe_t out_write;
} uv__pty_out_data;
const int out_read_buf_len = 512;
const int out_read_buf_len = 128 * 1024;
void pty_stdout_read_cb(uv_work_t *req) {
int err = 0;