mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user