To: vim_dev@googlegroups.com Subject: Patch 8.2.0431 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0431 Problem: Some compilers don't support using \e for Esc. (Yegappan Lakshmanan) Solution: use \033 instead. Files: src/ui.c *** ../vim-8.2.0430/src/ui.c 2020-03-22 14:08:27.321399669 +0100 --- src/ui.c 2020-03-23 19:13:52.078221177 +0100 *************** *** 2349,2355 **** */ if (ctrl_c_interrupts && (inbuf[inbufcount] == 3 || (len >= 9 && STRNCMP(inbuf + inbufcount, ! "\e[27;5;99~", 10) == 0))) { // remove everything typed before the CTRL-C mch_memmove(inbuf, inbuf + inbufcount, (size_t)(len + 1)); --- 2349,2355 ---- */ 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)); *** ../vim-8.2.0430/src/version.c 2020-03-22 21:23:43.558965830 +0100 --- src/version.c 2020-03-23 19:14:37.622050562 +0100 *************** *** 740,741 **** --- 740,743 ---- { /* Add new patch number below this line */ + /**/ + 431, /**/ -- GUARD #1: What -- a swallow carrying a coconut? ARTHUR: It could grip it by the husk! GUARD #1: It's not a question of where he grips it! It's a simple question of weight ratios! A five ounce bird could not carry a 1 pound coconut. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///