main: increase ptmx slave buffer size

This commit is contained in:
Daniel Eklöf 2019-06-29 20:50:27 +02:00
parent 23a133a64a
commit 28f7ab5130
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
main.c
View file

@ -883,7 +883,7 @@ main(int argc, const char *const *argv)
}
if (fds[1].revents & POLLIN) {
uint8_t data[1024];
uint8_t data[8192];
ssize_t count = read(c.term.ptmx, data, sizeof(data));
if (count < 0) {
LOG_ERRNO("failed to read from pseudo terminal");