Increase read buffer
We're getting a lot more text now, what with the mouse click commands. This took longer to debug than it should have.
This commit is contained in:
parent
0fb530e1a2
commit
df91bd11f3
2
bar.c
2
bar.c
|
@ -658,7 +658,7 @@ sighandle (int signal)
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
char input[1024] = {0, };
|
char input[2048] = {0, };
|
||||||
struct pollfd pollin[2] = {
|
struct pollfd pollin[2] = {
|
||||||
{ .fd = STDIN_FILENO, .events = POLLIN },
|
{ .fd = STDIN_FILENO, .events = POLLIN },
|
||||||
{ .fd = -1 , .events = POLLIN },
|
{ .fd = -1 , .events = POLLIN },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user