To: vim_dev@googlegroups.com Subject: Patch 9.0.0933 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0933 Problem: Kitty shows "already at oldest change" on startup. Solution: When receiving the keyboard protocol state return the ignore key. (closes #11601) Files: src/term.c *** ../vim-9.0.0932/src/term.c 2022-11-23 22:28:03.552026184 +0000 --- src/term.c 2022-11-23 23:28:53.620611564 +0000 *************** *** 5238,5243 **** --- 5238,5246 ---- // The protocol has various "progressive enhancement flags" values, but // we only check for zero and non-zero here. kitty_protocol_state = arg[0] == '0' ? KKPS_OFF : KKPS_ENABLED; + + key_name[0] = (int)KS_EXTRA; + key_name[1] = (int)KE_IGNORE; *slen = csi_len; } *** ../vim-9.0.0932/src/version.c 2022-11-23 22:34:20.063983596 +0000 --- src/version.c 2022-11-23 23:30:18.520626094 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 933, /**/ -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///