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

patch 8.1.1096: MS-Windows: cannot distinguish BS and CTRL-H

Problem:    MS-Windows: cannot distinguish BS and CTRL-H.
Solution:   Add code for VK_BACK. (Linwei, closes #1833)
This commit is contained in:
Bram Moolenaar
2019-03-30 22:11:21 +01:00
parent 8662189736
commit b70a47b774
3 changed files with 5 additions and 2 deletions

View File

@@ -882,6 +882,7 @@ static const struct
{ VK_NEXT, TRUE, 'Q', '\322', 'v', '\323', }, // PgDn
{ VK_INSERT,TRUE, 'R', '\324', '\325', '\326', },
{ VK_DELETE,TRUE, 'S', '\327', '\330', '\331', },
{ VK_BACK, TRUE, 'x', 'y', 'z', '{', }, // Backspace
{ VK_SNAPSHOT,TRUE, 0, 0, 0, 'r', }, // PrtScrn
@@ -911,8 +912,7 @@ static const struct
{ VK_NUMPAD7,TRUE, '\366', '\367', '\370', '\371', },
{ VK_NUMPAD8,TRUE, '\372', '\373', '\374', '\375', },
// Sorry, out of number space! <negri>
{ VK_NUMPAD9,TRUE, '\376', '\377', '\377', '\367', },
{ VK_NUMPAD9,TRUE, '\376', '\377', '|', '}', },
};