Mercurial > vim
diff src/gui.c @ 20595:3609e842f822 v8.2.0851
patch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUI
Commit: https://github.com/vim/vim/commit/f4ae6b245a54f11dd967d06b80f30e5abf55fb82
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 30 19:52:46 2020 +0200
patch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUI
Problem: Can't distinguish <M-a> from accented "a" in the GUI.
Solution: Use another way to make mapping <C-bslash> work. (closes https://github.com/vim/vim/issues/6163)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 May 2020 20:00:03 +0200 |
parents | 533bbd1917be |
children | 244ef6caf671 |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -803,8 +803,8 @@ gui_init(void) if (!p_beval) gui_mch_disable_beval_area(balloonEval); #endif - // In case the terminal was used before ":gui". - seenModifyOtherKeys = FALSE; + // In the GUI modifiers are prepended to keys. + seenModifyOtherKeys = TRUE; #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) if (!im_xim_isvalid_imactivate())