comparison src/keymap.h @ 13829:044337cbf854 v8.0.1786

patch 8.0.1786: no test for 'termwinkey' commit https://github.com/vim/vim/commit/b2ac14c0b5e23f8ab97c5c784bcd83e13ba8ded3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 1 18:47:59 2018 +0200 patch 8.0.1786: no test for 'termwinkey' Problem: No test for 'termwinkey'. Solution: Add a test. Make feedkeys() handle terminal_loop() returning before characters are consumed.
author Christian Brabandt <cb@256bit.org>
date Tue, 01 May 2018 19:00:07 +0200
parents ebb4f6c93598
children a72ad8a8b249
comparison
equal deleted inserted replaced
13828:4dece4ef17bd 13829:044337cbf854
268 , KE_CURSORHOLD = 96 /* CursorHold event */ 268 , KE_CURSORHOLD = 96 /* CursorHold event */
269 , KE_NOP = 97 /* doesn't do something */ 269 , KE_NOP = 97 /* doesn't do something */
270 , KE_FOCUSGAINED = 98 /* focus gained */ 270 , KE_FOCUSGAINED = 98 /* focus gained */
271 , KE_FOCUSLOST = 99 /* focus lost */ 271 , KE_FOCUSLOST = 99 /* focus lost */
272 , KE_MOUSEMOVE = 100 /* mouse moved with no button down */ 272 , KE_MOUSEMOVE = 100 /* mouse moved with no button down */
273 , KE_CANCEL = 101 /* return from vgetc() */
273 }; 274 };
274 275
275 /* 276 /*
276 * the three byte codes are replaced with the following int when using vgetc() 277 * the three byte codes are replaced with the following int when using vgetc()
277 */ 278 */
453 #define K_X2DRAG TERMCAP2KEY(KS_EXTRA, KE_X2DRAG) 454 #define K_X2DRAG TERMCAP2KEY(KS_EXTRA, KE_X2DRAG)
454 #define K_X2RELEASE TERMCAP2KEY(KS_EXTRA, KE_X2RELEASE) 455 #define K_X2RELEASE TERMCAP2KEY(KS_EXTRA, KE_X2RELEASE)
455 456
456 #define K_IGNORE TERMCAP2KEY(KS_EXTRA, KE_IGNORE) 457 #define K_IGNORE TERMCAP2KEY(KS_EXTRA, KE_IGNORE)
457 #define K_NOP TERMCAP2KEY(KS_EXTRA, KE_NOP) 458 #define K_NOP TERMCAP2KEY(KS_EXTRA, KE_NOP)
459 #define K_CANCEL TERMCAP2KEY(KS_EXTRA, KE_CANCEL)
458 460
459 #define K_MOUSEDOWN TERMCAP2KEY(KS_EXTRA, KE_MOUSEDOWN) 461 #define K_MOUSEDOWN TERMCAP2KEY(KS_EXTRA, KE_MOUSEDOWN)
460 #define K_MOUSEUP TERMCAP2KEY(KS_EXTRA, KE_MOUSEUP) 462 #define K_MOUSEUP TERMCAP2KEY(KS_EXTRA, KE_MOUSEUP)
461 #define K_MOUSELEFT TERMCAP2KEY(KS_EXTRA, KE_MOUSELEFT) 463 #define K_MOUSELEFT TERMCAP2KEY(KS_EXTRA, KE_MOUSELEFT)
462 #define K_MOUSERIGHT TERMCAP2KEY(KS_EXTRA, KE_MOUSERIGHT) 464 #define K_MOUSERIGHT TERMCAP2KEY(KS_EXTRA, KE_MOUSERIGHT)