blob: 57d78b594e26f04ba66f496eec08a5103d9c5b56 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* getchar.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002char_u *get_recorded(void);
3char_u *get_inserted(void);
4int stuff_empty(void);
5int readbuf1_empty(void);
6void typeahead_noflush(int c);
Bram Moolenaar6a2633b2018-10-07 23:16:36 +02007void flush_buffers(flush_buffers_T flush_typeahead);
Bram Moolenaaref269542016-01-19 13:22:12 +01008void ResetRedobuff(void);
9void CancelRedo(void);
Bram Moolenaard4863aa2017-04-07 19:50:12 +020010void saveRedobuff(save_redo_T *save_redo);
11void restoreRedobuff(save_redo_T *save_redo);
Bram Moolenaaref269542016-01-19 13:22:12 +010012void AppendToRedobuff(char_u *s);
13void AppendToRedobuffLit(char_u *str, int len);
14void AppendCharToRedobuff(int c);
15void AppendNumberToRedobuff(long n);
16void stuffReadbuff(char_u *s);
17void stuffRedoReadbuff(char_u *s);
18void stuffReadbuffLen(char_u *s, long len);
19void stuffReadbuffSpec(char_u *s);
20void stuffcharReadbuff(int c);
21void stuffnumReadbuff(long n);
Bram Moolenaar11abd092020-05-01 14:26:37 +020022void stuffescaped(char_u *arg, int literally);
Bram Moolenaaref269542016-01-19 13:22:12 +010023int 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);
Bram Moolenaarb42c0d52020-05-29 22:41:41 +020028void ins_char_typebuf(int c, int modifier);
Bram Moolenaaref269542016-01-19 13:22:12 +010029int 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 Moolenaarfc4ea2a2019-11-26 19:33:22 +010040int merge_modifyOtherKeys(int c_arg);
Bram Moolenaaref269542016-01-19 13:22:12 +010041int vgetc(void);
42int safe_vgetc(void);
43int plain_vgetc(void);
44int vpeekc(void);
45int vpeekc_nomap(void);
46int vpeekc_any(void);
47int char_avail(void);
Bram Moolenaar9c658c92019-09-15 21:00:54 +020048void f_getchar(typval_T *argvars, typval_T *rettv);
49void f_getcharmod(typval_T *argvars, typval_T *rettv);
50void parse_queued_messages(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010051void vungetc(int c);
Bram Moolenaar6bff02e2016-08-16 22:50:55 +020052int fix_input_buffer(char_u *buf, int len);
Bram Moolenaaref269542016-01-19 13:22:12 +010053int input_available(void);
Bram Moolenaar071d4272004-06-13 20:20:40 +000054/* vim: set ft=c : */