summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0839
blob: b8f1770debb7786c7016cec8ebdad539ec17f828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0839
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0839
Problem:    When using VTP wrong colors after a color scheme change.
Solution:   When VTP is active always clear after a color scheme change.
            (Nobuhiro Takasaki, closes #3872)
Files:	    src/ex_docmd.c


*** ../vim-8.1.0838/src/ex_docmd.c	2019-01-26 20:07:34.592237223 +0100
--- src/ex_docmd.c	2019-01-28 20:16:02.924257407 +0100
***************
*** 7211,7216 ****
--- 7211,7225 ----
      }
      else if (load_colors(eap->arg) == FAIL)
  	semsg(_("E185: Cannot find color scheme '%s'"), eap->arg);
+ 
+ #ifdef FEAT_VTP
+     else if (has_vtp_working())
+     {
+ 	// background color change requires clear + redraw
+ 	update_screen(CLEAR);
+ 	redrawcmd();
+     }
+ #endif
  }
  
      static void
*** ../vim-8.1.0838/src/version.c	2019-01-28 20:04:20.324937137 +0100
--- src/version.c	2019-01-28 20:17:42.931584922 +0100
***************
*** 785,786 ****
--- 785,788 ----
  {   /* Add new patch number below this line */
+ /**/
+     839,
  /**/

-- 
The question is:  What do you do with your life?
The wrong answer is: Become the richest guy in the graveyard.
				(billionaire and Oracle founder Larry Ellison)

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///