aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/terminal.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-23 05:58:32 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-23 05:58:32 +0800
commit818456470c0ce0d463b0be82e9c35eb77cc65f19 (patch)
tree93eb2d32451041504585adf4189a692141c8aa1b /src/nvim/terminal.c
parent7717f38d3f81cc739ef2b37829558d3d9eba9591 (diff)
downloadrneovim-818456470c0ce0d463b0be82e9c35eb77cc65f19.tar.gz
rneovim-818456470c0ce0d463b0be82e9c35eb77cc65f19.tar.bz2
rneovim-818456470c0ce0d463b0be82e9c35eb77cc65f19.zip
fix(input): put modifiers back into typeahead buffer when needed
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r--src/nvim/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
index 70a5c7aa08..a2d855244c 100644
--- a/src/nvim/terminal.c
+++ b/src/nvim/terminal.c
@@ -1299,7 +1299,7 @@ static bool send_mouse_event(Terminal *term, int c)
}
end:
- ins_char_typebuf(c);
+ ins_char_typebuf(c, mod_mask);
return true;
}