summaryrefslogtreecommitdiffstats
path: root/src/keymap.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-22 22:37:57 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-22 22:37:57 +0200
commita529ce068ba84d53343f3732b6a1ed4ad1fe3a68 (patch)
treea427a438d7a02ba84e0aa8a980b59c047269e0e5 /src/keymap.h
parenta1fed064d1eca6ae2c526311ec5464175c6f19e2 (diff)
patch 8.0.0661: recognizing urxvt mouse codes does not work wellv8.0.0661
Problem: Recognizing urxvt mouse codes does not work well. Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486)
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keymap.h b/src/keymap.h
index 776a532762..10264ae070 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -112,6 +112,7 @@
/* Used for the sgr mouse. */
#define KS_SGR_MOUSE 237
+#define KS_SGR_MOUSE_RELEASE 236 /* Release */
/*
* Filler used after KS_SPECIAL and others
@@ -416,6 +417,7 @@ enum key_extra
#define K_PTERM_MOUSE TERMCAP2KEY(KS_PTERM_MOUSE, KE_FILLER)
#define K_URXVT_MOUSE TERMCAP2KEY(KS_URXVT_MOUSE, KE_FILLER)
#define K_SGR_MOUSE TERMCAP2KEY(KS_SGR_MOUSE, KE_FILLER)
+#define K_SGR_MOUSERELEASE TERMCAP2KEY(KS_SGR_MOUSE_RELEASE, KE_FILLER)
#define K_SELECT TERMCAP2KEY(KS_SELECT, KE_FILLER)
#define K_TEAROFF TERMCAP2KEY(KS_TEAROFF, KE_FILLER)