To: vim-dev@vim.org Subject: Patch 5.6.024 (extra) Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.024 (extra) Problem: Win32 console: Entering CTRL-_ requires the shift key. (Kotchan) Solution: Specifically catch keycode 0xBD, like the GUI. Files: src/os_win32.c *** ../vim-5.6.23/src/os_win32.c Sat Mar 25 18:13:50 2000 --- src/os_win32.c Sat Mar 25 17:38:48 2000 *************** *** 502,507 **** --- 502,513 ---- *pch = NUL; return TRUE; } + /* Ctrl-- is Ctrl-_ */ + else if (pker->wVirtualKeyCode == 0xBD) + { + *pch = Ctrl('_'); + return TRUE; + } } /* Shift-TAB */ *** ../vim-5.6.23/src/version.c Sat Mar 25 18:13:50 2000 --- src/version.c Sat Mar 25 18:14:58 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 24, /**/ -- DINGO: And after the spanking ... the oral sex. GALAHAD: Oh, dear! Well, I... GIRLS: The oral sex ... The oral sex. GALAHAD: Well, I suppose I could stay a BIT longer. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/