summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 0e7b729..9960f74 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -193,7 +193,7 @@ struct globals {
#if ENABLE_FEATURE_VI_CRASHME
char readbuffer[128];
#else
- char readbuffer[8];
+ char readbuffer[KEYCODE_BUFFER_SIZE];
#endif
#define STATUS_BUFFER_LEN 200
char status_buffer[STATUS_BUFFER_LEN]; // messages to the user