Patch 9.0.0801
Problem: The modifyOtherKeys flag is set when it should not.
Solution: Do not handle special key codes with a modifer value above 16 as a
modifyOtherKeys value. (issue #11403)
Files: src/term.c
*** ../vim-9.0.0800/src/term.c 2022-10-18 19:22:21.256701550 +0100
--- src/term.c 2022-10-19 19:41:53.778827042 +0100
***************
*** 5045,5052 ****
// Key with modifier:
// {lead}27;{modifier};{key}~
// {lead}{key};{modifier}u
! else if ((arg[0] == 27 && argc == 3 && trail == '~')
! || (argc == 2 && trail == 'u'))
{
return len + handle_key_with_modifier(arg, trail,
csi_len, offset, buf, bufsize, buflen);
--- 5045,5055 ----
// Key with modifier:
// {lead}27;{modifier};{key}~
// {lead}{key};{modifier}u
! // Only handles four modifiers, this won't work if the modifier value is
! // more than 16.
! else if (((arg[0] == 27 && argc == 3 && trail == '~')
! || (argc == 2 && trail == 'u'))
! && arg[1] <= 16)
{
return len + handle_key_with_modifier(arg, trail,
csi_len, offset, buf, bufsize, buflen);
*** ../vim-9.0.0800/src/version.c 2022-10-19 19:24:44.855402846 +0100
--- src/version.c 2022-10-19 19:53:26.074377360 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 801,
/**/
--
The chat program is in public domain. This is not the GNU public license.
If it breaks then you get to keep both pieces.
-- Copyright notice for the chat program
/// 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/20221019190742.8395C1C05BB%40moolenaar.net.