Patch 8.2.2275
Problem:    CTRL-C not recognized in Mintty.
Solution:   Recognize the modifyOtherKeys code ending in "u". (Christian
            Brabandt, closes #7575)
Files:      src/ui.c


*** ../vim-8.2.2274/src/ui.c    2020-09-03 19:25:08.026072635 +0200
--- src/ui.c    2021-01-02 16:13:29.689219240 +0100
***************
*** 1014,1024 ****
        {
            /*
             * If a CTRL-C was typed, remove it from the buffer and set
!            * got_int.  Also recognize CTRL-C with modifyOtherKeys set.
             */
            if (ctrl_c_interrupts && (inbuf[inbufcount] == 3
                        || (len >= 9 && STRNCMP(inbuf + inbufcount,
!                                                  "\033[27;5;99~", 10) == 0)))
            {
                // remove everything typed before the CTRL-C
                mch_memmove(inbuf, inbuf + inbufcount, (size_t)(len + 1));
--- 1014,1027 ----
        {
            /*
             * If a CTRL-C was typed, remove it from the buffer and set
!            * got_int.  Also recognize CTRL-C with modifyOtherKeys set, in two
!            * forms.
             */
            if (ctrl_c_interrupts && (inbuf[inbufcount] == 3
                        || (len >= 9 && STRNCMP(inbuf + inbufcount,
!                                                  "\033[27;5;99~", 10) == 0)
!                       || (len >= 7 && STRNCMP(inbuf + inbufcount,
!                                                      "\033[99;5u", 7) == 0)))
            {
                // remove everything typed before the CTRL-C
                mch_memmove(inbuf, inbuf + inbufcount, (size_t)(len + 1));
*** ../vim-8.2.2274/src/version.c       2021-01-02 16:05:24.522986581 +0100
--- src/version.c       2021-01-02 16:15:56.908688628 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2275,
  /**/

-- 
>From "know your smileys":
 :-H    Is missing teeth

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/202101021517.102FHgdd1857341%40masaka.moolenaar.net.

Raspunde prin e-mail lui