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:
Thiago de Arruda
2014-10-18 08:38:15 -03:00
parent 68de5d79a2
commit 42112e04a9
7 changed files with 100 additions and 330 deletions

View File

@@ -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;
/*