# HG changeset patch # User Christian Brabandt # Date 1501416005 -7200 # Node ID 97eb443fee5d3dee3ff564d8daa53648bb0bc680 # Parent e1b0061c5101f0e640652d6fc8cd70b9d499f035 patch 8.0.0812: terminal window colors shift when 'number' is set commit https://github.com/vim/vim/commit/68c4bdd53cb54b6c0dccb2dcee446ef42ef3dedd Author: Bram Moolenaar Date: Sun Jul 30 13:57:41 2017 +0200 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. diff --git a/src/screen.c b/src/screen.c --- a/src/screen.c +++ b/src/screen.c @@ -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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 812, +/**/ 811, /**/ 810,