To: vim_dev@googlegroups.com Subject: Patch 8.2.2833 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2833 Problem: Two key command cancelled by moving mouse when using popup. (Sergey Vlasov) Solution: Ignore K_MOUSEMOVE in plain_vgetc(). Files: src/getchar.c *** ../vim-8.2.2832/src/getchar.c 2020-12-18 19:49:52.341571870 +0100 --- src/getchar.c 2021-05-05 19:29:49.846042498 +0200 *************** *** 1932,1938 **** do c = safe_vgetc(); ! while (c == K_IGNORE || c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR); if (c == K_PS) // Only handle the first pasted character. Drop the rest, since we --- 1932,1940 ---- do c = safe_vgetc(); ! while (c == K_IGNORE ! || c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR ! || c == K_MOUSEMOVE); if (c == K_PS) // Only handle the first pasted character. Drop the rest, since we *** ../vim-8.2.2832/src/version.c 2021-05-04 21:56:24.877671364 +0200 --- src/version.c 2021-05-05 19:36:00.517249155 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2833, /**/ -- hundred-and-one symptoms of being an internet addict: 232. You start conversations with, "Have you gotten a fiber connection?" /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///