mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
ui: Refactor input buffer handling
All input buffer code was moved to os/input.c, and `inbuf` is now a `RBuffer` instance(which abstracts static buffer manipulation).
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#include "nvim/eval_defs.h"
|
||||
// for proftime_T
|
||||
#include "nvim/profile.h"
|
||||
// for String
|
||||
#include "nvim/api/private/defs.h"
|
||||
|
||||
/*
|
||||
* Flags for w_valid.
|
||||
@@ -311,9 +313,7 @@ typedef struct {
|
||||
int old_mod_mask;
|
||||
buffheader_T save_readbuf1;
|
||||
buffheader_T save_readbuf2;
|
||||
#ifdef USE_INPUT_BUF
|
||||
char_u *save_inputbuf;
|
||||
#endif
|
||||
String save_inputbuf;
|
||||
} tasave_T;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user