0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4692: no test for what 8.2.4691 fixes

Problem:    No test for what 8.2.4691 fixes.
Solution:   Add a test.  Use a more generic sotlution. (closes #10090)
This commit is contained in:
zeertzjq
2022-04-05 13:17:01 +01:00
committed by Bram Moolenaar
parent ca9d8d2cb9
commit 0f68e6c07a
4 changed files with 52 additions and 16 deletions

View File

@@ -261,7 +261,10 @@ do_mouse(
{
// If the next character is the same mouse event then use that
// one. Speeds up dragging the status line.
if (vpeekc() != NUL)
// Note: Since characters added to the stuff buffer in the code
// below need to come before the next character, do not do this
// when the current character was stuffed.
if (!KeyStuffed && vpeekc() != NUL)
{
int nc;
int save_mouse_row = mouse_row;