blob: 0382122294ca11a4eb8531ce5d192ce2a6a41f17 [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);
22int start_redo(long count, int old_redo);
23int start_redo_ins(void);
24void stop_redo_ins(void);
Bram Moolenaarb66bab32019-08-01 14:28:24 +020025int noremap_keys(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010026int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent);
27void ins_char_typebuf(int c);
28int typebuf_changed(int tb_change_cnt);
29int typebuf_typed(void);
30int typebuf_maplen(void);
31void del_typebuf(int len, int offset);
Bram Moolenaaref269542016-01-19 13:22:12 +010032int save_typebuf(void);
33void save_typeahead(tasave_T *tp);
34void restore_typeahead(tasave_T *tp);
35void openscript(char_u *name, int directly);
36void close_all_scripts(void);
37int using_script(void);
38void before_blocking(void);
Bram Moolenaarfc4ea2a2019-11-26 19:33:22 +010039int merge_modifyOtherKeys(int c_arg);
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 : */