To: vim_dev@googlegroups.com Subject: Patch 9.0.0827 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0827 Problem: The key in tmux doesn't work when 'term' is set to "xterm". (Dominique Pellé) Solution: Only use '@' in a termcap key entry for "1" when ";" follows. (closes #11429) Files: src/term.c *** ../vim-9.0.0826/src/term.c 2022-10-21 14:17:19.579639460 +0100 --- src/term.c 2022-11-01 22:03:47.858985160 +0000 *************** *** 5519,5526 **** // no match for "code;*X" with "code;" continue; else if (termcodes[idx].code[modslen] == '@' ! && tp[modslen] != '1') ! // no match for "[@" with "[1" continue; else { --- 5519,5526 ---- // no match for "code;*X" with "code;" continue; else if (termcodes[idx].code[modslen] == '@' ! && (tp[modslen] != '1' || tp[modslen + 1] != ';')) ! // no match for "[@" with "[1;" continue; else { *** ../vim-9.0.0826/src/version.c 2022-11-01 20:33:39.991400397 +0000 --- src/version.c 2022-11-01 21:57:55.679701386 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 827, /**/ -- hundred-and-one symptoms of being an internet addict: 3. Your bookmark takes 15 minutes to scroll from top to bottom. /// 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 ///