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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221123233244.3D39D1C211B%40moolenaar.net.

Raspunde prin e-mail lui