mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-20 01:40:14 -05:00
main: pty buffers appear to be ~20KB on modern linux kernels
This commit is contained in:
parent
73b4d5d05a
commit
7d702756ad
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -738,7 +738,7 @@ main(int argc, char *const *argv)
|
|||
}
|
||||
|
||||
if (fds[1].revents & POLLIN) {
|
||||
uint8_t data[8192];
|
||||
uint8_t data[24 * 1024];
|
||||
ssize_t count = read(term.ptmx, data, sizeof(data));
|
||||
if (count < 0) {
|
||||
if (errno != EAGAIN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue