diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-30 13:57:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-30 13:57:41 +0200 |
commit | 68c4bdd53cb54b6c0dccb2dcee446ef42ef3dedd (patch) | |
tree | e714a24715b62f0438bbfaf25704324bce51b947 | |
parent | 5449f7c6fc574fed1020d70878becbbfca5a5a41 (diff) | |
download | vim-git-68c4bdd53cb54b6c0dccb2dcee446ef42ef3dedd.tar.gz |
patch 8.0.0812: terminal window colors shift when 'number' is setv8.0.0812
Problem: Terminal window colors shift when 'number' is set. (Nazri Ramliy)
Solution: Use vcol instead of col.
-rw-r--r-- | src/screen.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index 40f83c0b6..a1e8b5fa0 100644 --- 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 index 90d9273eb..7a3e04a17 100644 --- 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, |