diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-29 18:50:27 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-29 18:50:27 +0000 |
| commit | 28f7ab51304f98600e312bda4edd3b7ead16f2a4 (patch) | |
| tree | 6dc50a13f03674c9de8614c7f85f892e5b63a632 | |
| parent | render: alignment (diff) | |
main: increase ptmx slave buffer size
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |
