input: Fix sizes of input/read buffers

Input buffer must be bigger than read buffer to ensure it always has space for
converted data.
This commit is contained in:
Thiago de Arruda
2014-10-29 22:51:22 -03:00
parent 4fd9ee4a6b
commit 94527245a5

View File

@@ -20,8 +20,8 @@
#include "nvim/getchar.h"
#include "nvim/term.h"
#define READ_BUFFER_SIZE 0xffff
#define INPUT_BUFFER_SIZE 4096
#define READ_BUFFER_SIZE 0xfff
#define INPUT_BUFFER_SIZE (READ_BUFFER_SIZE * 4)
typedef enum {
kInputNone,