diff options
author | nicm <nicm> | 2014-04-17 12:43:38 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-04-17 12:43:38 +0000 |
commit | ada75af199405c546588faacf8806e957c163621 (patch) | |
tree | 592a822be5b8f7267dc7ef07d459af50c2598a31 /tmux.h | |
parent | bce952777a491c5099693e2c256a14e51aecfaa6 (diff) | |
download | rtmux-ada75af199405c546588faacf8806e957c163621.tar.gz rtmux-ada75af199405c546588faacf8806e957c163621.tar.bz2 rtmux-ada75af199405c546588faacf8806e957c163621.zip |
Don't limit the DCS buffer to 256 bytes, expand it as needed. Requested
by Suraj Kurapati.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -818,8 +818,11 @@ struct input_ctx { u_char param_buf[64]; size_t param_len; - u_char input_buf[256]; +#define INPUT_BUF_START 32 +#define INPUT_BUF_LIMIT 1048576 + u_char* input_buf; size_t input_len; + size_t input_space; int param_list[24]; /* -1 not present */ u_int param_list_len; |