aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-04-15 13:54:40 -0400
committerJames McCoy <jamessan@jamessan.com>2017-04-19 22:26:30 -0400
commitcb02137dfac7357650a2e9cc32acb66326e59058 (patch)
treee196f6fa8b9c03009f383349c86b5ca79acf7199 /src/nvim/os
parentac05c8585c0837dd47568335486b7d815d15dec4 (diff)
downloadrneovim-cb02137dfac7357650a2e9cc32acb66326e59058.tar.gz
rneovim-cb02137dfac7357650a2e9cc32acb66326e59058.tar.bz2
rneovim-cb02137dfac7357650a2e9cc32acb66326e59058.zip
vim-patch:7.4.2209
Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string. https://github.com/vim/vim/commit/35a4cfa200917dd171b1fff3cd5b6cee9add673d
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c
index 5f0f2ec677..1fa1f52806 100644
--- a/src/nvim/os/input.c
+++ b/src/nvim/os/input.c
@@ -182,7 +182,8 @@ size_t input_enqueue(String keys)
while (rbuffer_space(input_buffer) >= 6 && ptr < end) {
uint8_t buf[6] = { 0 };
unsigned int new_size
- = trans_special((const uint8_t **)&ptr, (size_t)(end - ptr), buf, true);
+ = trans_special((const uint8_t **)&ptr, (size_t)(end - ptr), buf, true,
+ true);
if (new_size) {
new_size = handle_mouse_event(&ptr, buf, new_size);