Mercurial > vim
comparison src/proto/getchar.pro @ 20571:5995db0fe84a v8.2.0839
patch 8.2.0839: dropping modifier when putting a character back in typeahead
Commit: https://github.com/vim/vim/commit/b42c0d54279b1fdb79652db0c84171e213458809
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 29 22:41:41 2020 +0200
patch 8.2.0839: dropping modifier when putting a character back in typeahead
Problem: Dropping modifier when putting a character back in typeahead.
Solution: Add modifier to ins_char_typebuf(). (closes https://github.com/vim/vim/issues/6158)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 29 May 2020 22:45:05 +0200 |
parents | 918245588b50 |
children | 5ffe112b1afd |
comparison
equal
deleted
inserted
replaced
20570:c08ee6345092 | 20571:5995db0fe84a |
---|---|
23 int start_redo(long count, int old_redo); | 23 int start_redo(long count, int old_redo); |
24 int start_redo_ins(void); | 24 int start_redo_ins(void); |
25 void stop_redo_ins(void); | 25 void stop_redo_ins(void); |
26 int noremap_keys(void); | 26 int noremap_keys(void); |
27 int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent); | 27 int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent); |
28 void ins_char_typebuf(int c); | 28 void ins_char_typebuf(int c, int modifier); |
29 int typebuf_changed(int tb_change_cnt); | 29 int typebuf_changed(int tb_change_cnt); |
30 int typebuf_typed(void); | 30 int typebuf_typed(void); |
31 int typebuf_maplen(void); | 31 int typebuf_maplen(void); |
32 void del_typebuf(int len, int offset); | 32 void del_typebuf(int len, int offset); |
33 int save_typebuf(void); | 33 int save_typebuf(void); |