mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-23 06:46:56 -04:00
main: increase ptmx slave buffer size
This commit is contained in:
parent
23a133a64a
commit
28f7ab5130
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -883,7 +883,7 @@ main(int argc, const char *const *argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fds[1].revents & POLLIN) {
|
if (fds[1].revents & POLLIN) {
|
||||||
uint8_t data[1024];
|
uint8_t data[8192];
|
||||||
ssize_t count = read(c.term.ptmx, data, sizeof(data));
|
ssize_t count = read(c.term.ptmx, data, sizeof(data));
|
||||||
if (count < 0) {
|
if (count < 0) {
|
||||||
LOG_ERRNO("failed to read from pseudo terminal");
|
LOG_ERRNO("failed to read from pseudo terminal");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue