Patch 8.2.4811 (after 8.2.4807)
Problem: Win32 GUI: caps lock doesn't work.
Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
Files: src/gui_w32.c
*** ../vim-8.2.4810/src/gui_w32.c 2022-04-22 22:45:47.036948588 +0100
--- src/gui_w32.c 2022-04-23 11:06:34.217600454 +0100
***************
*** 2049,2054 ****
--- 2049,2056 ----
memset(keyboard_state, 0, 256);
if (GetKeyState(VK_SHIFT) & 0x8000)
keyboard_state[VK_SHIFT] = 0x80;
+ if (GetKeyState(VK_CAPITAL) & 0x0001)
+ keyboard_state[VK_CAPITAL] = 0x01;
if (GetKeyState(VK_RMENU) & 0x8000)
{
keyboard_state[VK_MENU] = 0x80;
*** ../vim-8.2.4810/src/version.c 2022-04-23 11:03:55.093928150 +0100
--- src/version.c 2022-04-23 11:07:51.533441157 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4811,
/**/
--
You have the right to remain silent. Anything you say will be
misquoted, then used against you.
/// Bram Moolenaar -- Br...@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 ///