Patch 8.0.0997 (after 8.0.0996)
Problem: Libvterm and Terminal.app not regognized from termresponse.
Solution: Adjust string compare.
Files: src/term.c
*** ../vim-8.0.0996/src/term.c 2017-08-26 15:15:59.710311866 +0200
--- src/term.c 2017-08-26 15:28:10.361512898 +0200
***************
*** 4510,4516 ****
/* libvterm sends 0;100;0 */
if (col == 100
! && STRNCMP(tp + extra - 2, ">0;100;0c", 9) == 0)
{
/* If run from Vim $COLORS is set to the number of
* colors the terminal supports. Otherwise assume
--- 4510,4516 ----
/* libvterm sends 0;100;0 */
if (col == 100
! && STRNCMP(tp + extra - 2, "0;100;0c", 8) == 0)
{
/* If run from Vim $COLORS is set to the number of
* colors the terminal supports. Otherwise assume
***************
*** 4522,4528 ****
# ifdef MACOS
/* Mac Terminal.app sends 1;95;0 */
if (col == 95
! && STRNCMP(tp + extra - 2, ">1;95;0c", 9) == 0)
{
/* Terminal.app sets $TERM to "xterm-256colors",
* but it's not fully xterm compatible. */
--- 4522,4528 ----
# ifdef MACOS
/* Mac Terminal.app sends 1;95;0 */
if (col == 95
! && STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0)
{
/* Terminal.app sets $TERM to "xterm-256colors",
* but it's not fully xterm compatible. */
*** ../vim-8.0.0996/src/version.c 2017-08-26 15:15:59.710311866 +0200
--- src/version.c 2017-08-26 15:28:57.325205600 +0200
***************
*** 771,772 ****
--- 771,774 ----
{ /* Add new patch number below this line */
+ /**/
+ 997,
/**/
--
hundred-and-one symptoms of being an internet addict:
26. You check your mail. It says "no new messages." So you check it again.
/// 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].
For more options, visit https://groups.google.com/d/optout.