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:
Jurica Vukadin 2014-01-13 22:47:23 +01:00
parent 0fb530e1a2
commit df91bd11f3

2
bar.c
View File

@ -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 },