blob: cfb3ab4ab76a6ec0f094b8f81f871d201ad46d5b [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* getchar.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002void free_buff(buffheader_T *buf);
3char_u *get_recorded(void);
4char_u *get_inserted(void);
5int stuff_empty(void);
6int readbuf1_empty(void);
7void typeahead_noflush(int c);
Bram Moolenaar6a2633b2018-10-07 23:16:36 +02008void flush_buffers(flush_buffers_T flush_typeahead);
Bram Moolenaaref269542016-01-19 13:22:12 +01009void ResetRedobuff(void);
10void CancelRedo(void);
Bram Moolenaard4863aa2017-04-07 19:50:12 +020011void saveRedobuff(save_redo_T *save_redo);
12void restoreRedobuff(save_redo_T *save_redo);
Bram Moolenaaref269542016-01-19 13:22:12 +010013void AppendToRedobuff(char_u *s);
14void AppendToRedobuffLit(char_u *str, int len);
15void AppendCharToRedobuff(int c);
16void AppendNumberToRedobuff(long n);
17void stuffReadbuff(char_u *s);
18void stuffRedoReadbuff(char_u *s);
19void stuffReadbuffLen(char_u *s, long len);
20void stuffReadbuffSpec(char_u *s);
21void stuffcharReadbuff(int c);
22void stuffnumReadbuff(long n);
23int start_redo(long count, int old_redo);
24int start_redo_ins(void);
25void stop_redo_ins(void);
Bram Moolenaarb66bab32019-08-01 14:28:24 +020026int noremap_keys(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010027int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent);
28void ins_char_typebuf(int c);
29int typebuf_changed(int tb_change_cnt);
30int typebuf_typed(void);
31int typebuf_maplen(void);
32void del_typebuf(int len, int offset);
Bram Moolenaaref269542016-01-19 13:22:12 +010033int save_typebuf(void);
34void save_typeahead(tasave_T *tp);
35void restore_typeahead(tasave_T *tp);
36void openscript(char_u *name, int directly);
37void close_all_scripts(void);
38int using_script(void);
39void before_blocking(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010040int vgetc(void);
41int safe_vgetc(void);
42int plain_vgetc(void);
43int vpeekc(void);
44int vpeekc_nomap(void);
45int vpeekc_any(void);
46int char_avail(void);
Bram Moolenaar9c658c92019-09-15 21:00:54 +020047void f_getchar(typval_T *argvars, typval_T *rettv);
48void f_getcharmod(typval_T *argvars, typval_T *rettv);
49void parse_queued_messages(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010050void vungetc(int c);
Bram Moolenaar6bff02e2016-08-16 22:50:55 +020051int fix_input_buffer(char_u *buf, int len);
Bram Moolenaaref269542016-01-19 13:22:12 +010052int input_available(void);
Bram Moolenaar071d4272004-06-13 20:20:40 +000053/* vim: set ft=c : */