Mercurial > vim
comparison src/ex_getln.c @ 20733:e3078150144d v8.2.0919
patch 8.2.0919: merging modifier for modifyOtherKeys is done twice
Commit: https://github.com/vim/vim/commit/673fc3e23f09095d17f0095c4323958041b2d0d2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 15:46:11 2020 +0200
patch 8.2.0919: merging modifier for modifyOtherKeys is done twice
Problem: Merging modifier for modifyOtherKeys is done twice.
Solution: Remove the merging done in vgetc().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 16:00:06 +0200 |
parents | abebcc20af26 |
children | a427f5f26419 |
comparison
equal
deleted
inserted
replaced
20732:34095410f55f | 20733:e3078150144d |
---|---|
2223 { | 2223 { |
2224 int prev_mod_mask = mod_mask; | 2224 int prev_mod_mask = mod_mask; |
2225 | 2225 |
2226 ignore_drag_release = TRUE; | 2226 ignore_drag_release = TRUE; |
2227 putcmdline('^', TRUE); | 2227 putcmdline('^', TRUE); |
2228 no_reduce_keys = TRUE; // don't merge modifyOtherKeys | |
2228 c = get_literal(); // get next (two) character(s) | 2229 c = get_literal(); // get next (two) character(s) |
2230 no_reduce_keys = FALSE; | |
2229 do_abbr = FALSE; // don't do abbreviation now | 2231 do_abbr = FALSE; // don't do abbreviation now |
2230 extra_char = NUL; | 2232 extra_char = NUL; |
2231 // may need to remove ^ when composing char was typed | 2233 // may need to remove ^ when composing char was typed |
2232 if (enc_utf8 && utf_iscomposing(c) && !cmd_silent) | 2234 if (enc_utf8 && utf_iscomposing(c) && !cmd_silent) |
2233 { | 2235 { |