summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-10 21:14:03 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-10 21:14:03 +0200
commit6a0299d8f4c7a64c64d60a6bb39cfe6eaf892247 (patch)
treef90be14b4122755ec33df17f1cfe86bee4ed600a /src/globals.h
parent07282f01da06c158bab4787adc89ec15d7eeb202 (diff)
downloadvim-git-6a0299d8f4c7a64c64d60a6bb39cfe6eaf892247.tar.gz
patch 8.1.2134: modifier keys are not always recognizedv8.1.2134
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.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 2611266a7..d790c82e7 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1006,6 +1006,8 @@ EXTERN int no_mapping INIT(= FALSE); // currently no mapping allowed
EXTERN int no_zero_mapping INIT(= 0); // mapping zero not allowed
EXTERN int allow_keys INIT(= FALSE); // allow key codes when no_mapping
// is set
+EXTERN int no_reduce_keys INIT(= FALSE); // do not apply Ctrl, Shift and Alt
+ // to the key
EXTERN int no_u_sync INIT(= 0); // Don't call u_sync()
#ifdef FEAT_EVAL
EXTERN int u_sync_once INIT(= 0); // Call u_sync() once when evaluating