projects
/
vim
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd43cc
)
patch 8.0.0919: cursor color isn't set on startup
v8.0.0919
author
Bram Moolenaar
<Bram@vim.org>
Sat, 12 Aug 2017 18:11:53 +0000
(20:11 +0200)
committer
Bram Moolenaar
<Bram@vim.org>
Sat, 12 Aug 2017 18:11:53 +0000
(20:11 +0200)
Problem: Cursor color isn't set on startup.
Solution: Initialize showing_mode to invalid value.
src/term.c
patch
|
blob
|
history
src/version.c
patch
|
blob
|
history
diff --git
a/src/term.c
b/src/term.c
index 80545ad81b3ee69b3a164aa355d7434058eea082..d72f58c32df492b67c0f76c4b0a63cee9ebc8327 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-3670,7
+3670,7
@@
cursor_off(void)
void
term_cursor_mode(int forced)
{
- static int showing_mode =
NORMAL
;
+ static int showing_mode =
-1
;
char_u *p;
/* Only do something when redrawing the screen and we can restore the
diff --git
a/src/version.c
b/src/version.c
index c3918a2dd5fdcb7596f077c73cded7e1fa21edef..fa404b63db5350d91b11013215cf05aa20e97e61 100644
(file)
--- a/
src/version.c
+++ b/
src/version.c
@@
-769,6
+769,8
@@
static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 919,
/**/
918,
/**/