Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* getchar.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | char_u *get_recorded(void); |
| 3 | char_u *get_inserted(void); |
| 4 | int stuff_empty(void); |
| 5 | int readbuf1_empty(void); |
| 6 | void typeahead_noflush(int c); |
Bram Moolenaar | 6a2633b | 2018-10-07 23:16:36 +0200 | [diff] [blame] | 7 | void flush_buffers(flush_buffers_T flush_typeahead); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 8 | void ResetRedobuff(void); |
| 9 | void CancelRedo(void); |
Bram Moolenaar | d4863aa | 2017-04-07 19:50:12 +0200 | [diff] [blame] | 10 | void saveRedobuff(save_redo_T *save_redo); |
| 11 | void restoreRedobuff(save_redo_T *save_redo); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 12 | void AppendToRedobuff(char_u *s); |
| 13 | void AppendToRedobuffLit(char_u *str, int len); |
| 14 | void AppendCharToRedobuff(int c); |
| 15 | void AppendNumberToRedobuff(long n); |
| 16 | void stuffReadbuff(char_u *s); |
| 17 | void stuffRedoReadbuff(char_u *s); |
| 18 | void stuffReadbuffLen(char_u *s, long len); |
| 19 | void stuffReadbuffSpec(char_u *s); |
| 20 | void stuffcharReadbuff(int c); |
| 21 | void stuffnumReadbuff(long n); |
| 22 | int start_redo(long count, int old_redo); |
| 23 | int start_redo_ins(void); |
| 24 | void stop_redo_ins(void); |
Bram Moolenaar | b66bab3 | 2019-08-01 14:28:24 +0200 | [diff] [blame] | 25 | int noremap_keys(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 26 | int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent); |
| 27 | void ins_char_typebuf(int c); |
| 28 | int typebuf_changed(int tb_change_cnt); |
| 29 | int typebuf_typed(void); |
| 30 | int typebuf_maplen(void); |
| 31 | void del_typebuf(int len, int offset); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 32 | int save_typebuf(void); |
| 33 | void save_typeahead(tasave_T *tp); |
| 34 | void restore_typeahead(tasave_T *tp); |
| 35 | void openscript(char_u *name, int directly); |
| 36 | void close_all_scripts(void); |
| 37 | int using_script(void); |
| 38 | void before_blocking(void); |
Bram Moolenaar | fc4ea2a | 2019-11-26 19:33:22 +0100 | [diff] [blame] | 39 | int merge_modifyOtherKeys(int c_arg); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 40 | int vgetc(void); |
| 41 | int safe_vgetc(void); |
| 42 | int plain_vgetc(void); |
| 43 | int vpeekc(void); |
| 44 | int vpeekc_nomap(void); |
| 45 | int vpeekc_any(void); |
| 46 | int char_avail(void); |
Bram Moolenaar | 9c658c9 | 2019-09-15 21:00:54 +0200 | [diff] [blame] | 47 | void f_getchar(typval_T *argvars, typval_T *rettv); |
| 48 | void f_getcharmod(typval_T *argvars, typval_T *rettv); |
| 49 | void parse_queued_messages(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 50 | void vungetc(int c); |
Bram Moolenaar | 6bff02e | 2016-08-16 22:50:55 +0200 | [diff] [blame] | 51 | int fix_input_buffer(char_u *buf, int len); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 52 | int input_available(void); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 53 | /* vim: set ft=c : */ |