comparison src/term.c @ 31285:76acee969543 v9.0.0976

patch 9.0.0976: enabling the kitty keyboard protocol uses push/pop Commit: https://github.com/vim/vim/commit/a87749e3eae3f918b6678f45cf975f0cf06d3e97 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 30 10:23:17 2022 +0000 patch 9.0.0976: enabling the kitty keyboard protocol uses push/pop Problem: Enabling the kitty keyboard protocol uses push/pop. Solution: Use the start/stop codes to avoid unpredictable behavior.
author Bram Moolenaar <Bram@vim.org>
date Wed, 30 Nov 2022 11:30:05 +0100
parents cab7d8accab7
children fa309d9af73c
comparison
equal deleted inserted replaced
31284:3dc5f502764c 31285:76acee969543
606 * Additions for using the Kitty keyboard protocol. 606 * Additions for using the Kitty keyboard protocol.
607 */ 607 */
608 static tcap_entry_T builtin_kitty[] = { 608 static tcap_entry_T builtin_kitty[] = {
609 // t_TI enables the kitty keyboard protocol, requests the kitty keyboard 609 // t_TI enables the kitty keyboard protocol, requests the kitty keyboard
610 // protocol state and requests the version response. 610 // protocol state and requests the version response.
611 {(int)KS_CTI, "\033[>1u\033[?u\033[>c"}, 611 {(int)KS_CTI, "\033[=1;1u\033[?u\033[>c"},
612 612
613 // t_TE also disabled modifyOtherKeys, because t_TI from xterm may already 613 // t_TE also disabled modifyOtherKeys, because t_TI from xterm may already
614 // have been used. 614 // have been used.
615 {(int)KS_CTE, "\033[>4;m\033[<u"}, 615 {(int)KS_CTE, "\033[>4;m\033[=0;1u"},
616 616
617 {(int)KS_NAME, NULL} // end marker 617 {(int)KS_NAME, NULL} // end marker
618 }; 618 };
619 619
620 /* 620 /*