Mercurial > vim
changeset 16182:bed0d7200635 v8.1.1096
patch 8.1.1096: MS-Windows: cannot distinguish BS and CTRL-H
commit https://github.com/vim/vim/commit/b70a47b77414273755c541f1378ca50966e5ef16
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 30 22:11:21 2019 +0100
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 https://github.com/vim/vim/issues/1833)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Mar 2019 22:15:04 +0100 |
parents | 79e3a7f59365 |
children | 439843cdff96 |
files | src/os_win32.c src/term.c src/version.c |
diffstat | 3 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -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', '|', '}', }, };