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:
@@ -4541,7 +4541,7 @@ win_line(
|
||||
#ifdef FEAT_TERMINAL
|
||||
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)
|
||||
char_attr = syntax_attr;
|
||||
|
@@ -769,6 +769,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
812,
|
||||
/**/
|
||||
811,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user