mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
Remove unused function push_raw_key.
This commit is contained in:
6
src/ui.c
6
src/ui.c
@@ -353,12 +353,6 @@ void add_to_input_buf_csi(char_u *str, int len) {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void push_raw_key(char_u *s, int len)
|
|
||||||
{
|
|
||||||
while (len--)
|
|
||||||
inbuf[inbufcount++] = *s++;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(FEAT_GUI) || defined(FEAT_EVAL) || defined(FEAT_EX_EXTRA) \
|
#if defined(FEAT_GUI) || defined(FEAT_EVAL) || defined(FEAT_EX_EXTRA) \
|
||||||
|| defined(PROTO)
|
|| defined(PROTO)
|
||||||
/* Remove everything from the input buffer. Called when ^C is found */
|
/* Remove everything from the input buffer. Called when ^C is found */
|
||||||
|
1
src/ui.h
1
src/ui.h
@@ -15,7 +15,6 @@ char_u *get_input_buf(void);
|
|||||||
void set_input_buf(char_u *p);
|
void set_input_buf(char_u *p);
|
||||||
void add_to_input_buf(char_u *s, int len);
|
void add_to_input_buf(char_u *s, int len);
|
||||||
void add_to_input_buf_csi(char_u *str, int len);
|
void add_to_input_buf_csi(char_u *str, int len);
|
||||||
void push_raw_key(char_u *s, int len);
|
|
||||||
void trash_input_buf(void);
|
void trash_input_buf(void);
|
||||||
int read_from_input_buf(char_u *buf, long maxlen);
|
int read_from_input_buf(char_u *buf, long maxlen);
|
||||||
void fill_input_buf(int exit_on_error);
|
void fill_input_buf(int exit_on_error);
|
||||||
|
Reference in New Issue
Block a user