mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +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/getchar.h"
|
||||||
#include "nvim/term.h"
|
#include "nvim/term.h"
|
||||||
|
|
||||||
#define READ_BUFFER_SIZE 0xffff
|
#define READ_BUFFER_SIZE 0xfff
|
||||||
#define INPUT_BUFFER_SIZE 4096
|
#define INPUT_BUFFER_SIZE (READ_BUFFER_SIZE * 4)
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
kInputNone,
|
kInputNone,
|
||||||
|
Reference in New Issue
Block a user