aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-05 23:09:02 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-06 00:19:10 -0400
commit51403d6d411ca9bc8b4e8d66003a52781e5c698e (patch)
treeb0ab6a9dc5942cb89b45a80a8b7a2694e2c0ba1b /src/nvim/message.c
parent4910ac9ab8984551391df78dbf2744e6b4f5ef67 (diff)
downloadrneovim-51403d6d411ca9bc8b4e8d66003a52781e5c698e.tar.gz
rneovim-51403d6d411ca9bc8b4e8d66003a52781e5c698e.tar.bz2
rneovim-51403d6d411ca9bc8b4e8d66003a52781e5c698e.zip
vim-patch:8.0.1309: cannot use 'balloonexpr' in a terminal
Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI. https://github.com/vim/vim/commit/51b0f3701ecb440aa72ab6017c1df6940c0e0f6f
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 1783f62247..c3815588a6 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -1193,7 +1193,8 @@ void wait_return(int redraw)
|| c == K_MIDDLEDRAG || c == K_MIDDLERELEASE
|| c == K_RIGHTDRAG || c == K_RIGHTRELEASE
|| c == K_MOUSELEFT || c == K_MOUSERIGHT
- || c == K_MOUSEDOWN || c == K_MOUSEUP);
+ || c == K_MOUSEDOWN || c == K_MOUSEUP
+ || c == K_MOUSEMOVE);
os_breakcheck();
/*
* Avoid that the mouse-up event causes visual mode to start.