To: vim_dev@googlegroups.com Subject: Patch 9.0.0385 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0385 Problem: GUI: when CTRL-D is mapped in Insert mode it gets inserted. (Yasuhiro Matsumoto) Solution: Also recognize modifier starting with CSI. (closes #11057) Files: src/getchar.c *** ../vim-9.0.0384/src/getchar.c 2022-08-31 14:46:07.911016920 +0100 --- src/getchar.c 2022-09-05 12:54:12.493255966 +0100 *************** *** 2356,2362 **** if (offset + 3 >= typebuf.tb_len) break; tp = typebuf.tb_buf + typebuf.tb_off + offset; ! if (tp[0] == K_SPECIAL && tp[1] == KS_MODIFIER) { // A modifier was not used for a mapping, apply it to ASCII keys. // Shift would already have been applied. --- 2356,2362 ---- if (offset + 3 >= typebuf.tb_len) break; tp = typebuf.tb_buf + typebuf.tb_off + offset; ! if ((tp[0] == K_SPECIAL || tp[0] == CSI) && tp[1] == KS_MODIFIER) { // A modifier was not used for a mapping, apply it to ASCII keys. // Shift would already have been applied. *** ../vim-9.0.0384/src/version.c 2022-09-05 11:04:10.687888165 +0100 --- src/version.c 2022-09-05 12:56:18.289626201 +0100 *************** *** 705,706 **** --- 705,708 ---- { /* Add new patch number below this line */ + /**/ + 385, /**/ -- hundred-and-one symptoms of being an internet addict: 2. You kiss your girlfriend's home page. /// 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 ///