Skip to content

Commit 68c4bdd

Browse files
committed
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.
1 parent 5449f7c commit 68c4bdd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/screen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4541,7 +4541,7 @@ win_line(
45414541
#ifdef FEAT_TERMINAL
45424542
if (get_term_attr)
45434543
{
4544-
syntax_attr = term_get_attr(wp->w_buffer, lnum, col);
4544+
syntax_attr = term_get_attr(wp->w_buffer, lnum, vcol);
45454545

45464546
if (!attr_pri)
45474547
char_attr = syntax_attr;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
812,
772774
/**/
773775
811,
774776
/**/

0 commit comments

Comments
 (0)