comparison src/keymap.h @ 28704:e1aff2f300be v8.2.4876

patch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershell Commit: https://github.com/vim/vim/commit/dfbdadce44b754cfa9f55111bdc44bb6a5d6b320 Author: Christian Brabandt <cb@256bit.org> Date: Thu May 5 20:46:47 2022 +0100 patch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershell Problem: MS-Windows: Shift-BS results in strange character in powershell. Solution: Add K_S_BS. (Christian Brabandt, closes https://github.com/vim/vim/issues/10283, closes https://github.com/vim/vim/issues/10279)
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 May 2022 22:00:05 +0200
parents ce352871b382
children d0241e74bfdb
comparison
equal deleted inserted replaced
28703:d5622e8a1960 28704:e1aff2f300be
274 , KE_MOUSEMOVE = 100 // mouse moved with no button down 274 , KE_MOUSEMOVE = 100 // mouse moved with no button down
275 , KE_MOUSEMOVE_XY = 101 // KE_MOUSEMOVE with coordinates 275 , KE_MOUSEMOVE_XY = 101 // KE_MOUSEMOVE with coordinates
276 , KE_CANCEL = 102 // return from vgetc() 276 , KE_CANCEL = 102 // return from vgetc()
277 , KE_COMMAND = 103 // <Cmd> special key 277 , KE_COMMAND = 103 // <Cmd> special key
278 , KE_SCRIPT_COMMAND = 104 // <ScriptCmd> special key 278 , KE_SCRIPT_COMMAND = 104 // <ScriptCmd> special key
279 , KE_S_BS = 105 // shift + <BS>
279 }; 280 };
280 281
281 /* 282 /*
282 * the three byte codes are replaced with the following int when using vgetc() 283 * the three byte codes are replaced with the following int when using vgetc()
283 */ 284 */
297 #define K_C_HOME TERMCAP2KEY(KS_EXTRA, KE_C_HOME) 298 #define K_C_HOME TERMCAP2KEY(KS_EXTRA, KE_C_HOME)
298 #define K_S_END TERMCAP2KEY('*', '7') 299 #define K_S_END TERMCAP2KEY('*', '7')
299 #define K_C_END TERMCAP2KEY(KS_EXTRA, KE_C_END) 300 #define K_C_END TERMCAP2KEY(KS_EXTRA, KE_C_END)
300 #define K_TAB TERMCAP2KEY(KS_EXTRA, KE_TAB) 301 #define K_TAB TERMCAP2KEY(KS_EXTRA, KE_TAB)
301 #define K_S_TAB TERMCAP2KEY('k', 'B') 302 #define K_S_TAB TERMCAP2KEY('k', 'B')
303 #define K_S_BS TERMCAP2KEY(KS_EXTRA, KE_S_BS)
302 304
303 // extra set of function keys F1-F4, for vt100 compatible xterm 305 // extra set of function keys F1-F4, for vt100 compatible xterm
304 #define K_XF1 TERMCAP2KEY(KS_EXTRA, KE_XF1) 306 #define K_XF1 TERMCAP2KEY(KS_EXTRA, KE_XF1)
305 #define K_XF2 TERMCAP2KEY(KS_EXTRA, KE_XF2) 307 #define K_XF2 TERMCAP2KEY(KS_EXTRA, KE_XF2)
306 #define K_XF3 TERMCAP2KEY(KS_EXTRA, KE_XF3) 308 #define K_XF3 TERMCAP2KEY(KS_EXTRA, KE_XF3)