Mercurial > vim
comparison src/globals.h @ 18279:e8d1f3209dcd v8.1.2134
patch 8.1.2134: modifier keys are not always recognized
Commit: https://github.com/vim/vim/commit/6a0299d8f4c7a64c64d60a6bb39cfe6eaf892247
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 10 21:14:03 2019 +0200
patch 8.1.2134: modifier keys are not always recognized
Problem: Modifier keys are not always recognized.
Solution: Handle key codes generated by xterm with modifyOtherKeys set.
Add this to libvterm so we can debug it.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Oct 2019 21:15:04 +0200 |
parents | fe5afdc03bd2 |
children | 506bf60a30a0 |
comparison
equal
deleted
inserted
replaced
18278:1af5f27c8de2 | 18279:e8d1f3209dcd |
---|---|
1004 | 1004 |
1005 EXTERN int no_mapping INIT(= FALSE); // currently no mapping allowed | 1005 EXTERN int no_mapping INIT(= FALSE); // currently no mapping allowed |
1006 EXTERN int no_zero_mapping INIT(= 0); // mapping zero not allowed | 1006 EXTERN int no_zero_mapping INIT(= 0); // mapping zero not allowed |
1007 EXTERN int allow_keys INIT(= FALSE); // allow key codes when no_mapping | 1007 EXTERN int allow_keys INIT(= FALSE); // allow key codes when no_mapping |
1008 // is set | 1008 // is set |
1009 EXTERN int no_reduce_keys INIT(= FALSE); // do not apply Ctrl, Shift and Alt | |
1010 // to the key | |
1009 EXTERN int no_u_sync INIT(= 0); // Don't call u_sync() | 1011 EXTERN int no_u_sync INIT(= 0); // Don't call u_sync() |
1010 #ifdef FEAT_EVAL | 1012 #ifdef FEAT_EVAL |
1011 EXTERN int u_sync_once INIT(= 0); // Call u_sync() once when evaluating | 1013 EXTERN int u_sync_once INIT(= 0); // Call u_sync() once when evaluating |
1012 // an expression. | 1014 // an expression. |
1013 #endif | 1015 #endif |