1
0
forked from aniani/vim

patch 8.0.0812: terminal window colors shift when 'number' is set

Problem:    Terminal window colors shift when 'number' is set. (Nazri Ramliy)
Solution:   Use vcol instead of col.
This commit is contained in:
Bram Moolenaar
2017-07-30 13:57:41 +02:00
parent 5449f7c6fc
commit 68c4bdd53c
2 changed files with 3 additions and 1 deletions

View File

@@ -4541,7 +4541,7 @@ win_line(
#ifdef FEAT_TERMINAL #ifdef FEAT_TERMINAL
if (get_term_attr) if (get_term_attr)
{ {
syntax_attr = term_get_attr(wp->w_buffer, lnum, col); syntax_attr = term_get_attr(wp->w_buffer, lnum, vcol);
if (!attr_pri) if (!attr_pri)
char_attr = syntax_attr; char_attr = syntax_attr;

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
812,
/**/ /**/
811, 811,
/**/ /**/