comparison src/globals.h @ 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 9f921ba86d05
children f502455965c0
comparison
equal deleted inserted replaced
20570:c08ee6345092 20571:5995db0fe84a
118 118
119 /* 119 /*
120 * When vgetc() is called, it sets mod_mask to the set of modifiers that are 120 * When vgetc() is called, it sets mod_mask to the set of modifiers that are
121 * held down based on the MOD_MASK_* symbols that are read first. 121 * held down based on the MOD_MASK_* symbols that are read first.
122 */ 122 */
123 EXTERN int mod_mask INIT(= 0x0); // current key modifiers 123 EXTERN int mod_mask INIT(= 0); // current key modifiers
124
125 // The value of "mod_mask" and the unomdified character before calling
126 // merge_modifyOtherKeys().
127 EXTERN int vgetc_mod_mask INIT(= 0);
128 EXTERN int vgetc_char INIT(= 0);
124 129
125 /* 130 /*
126 * Cmdline_row is the row where the command line starts, just below the 131 * Cmdline_row is the row where the command line starts, just below the
127 * last window. 132 * last window.
128 * When the cmdline gets longer than the available space the screen gets 133 * When the cmdline gets longer than the available space the screen gets