diff options
Diffstat (limited to 'src/mouse.c')
-rw-r--r-- | src/mouse.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mouse.c b/src/mouse.c index b81aff248..42963341c 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -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; |