mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Always initialize screen mode, GitHub issue 3750 from Ding Fei.
This commit is contained in:
parent
f028445407
commit
73a2b12088
1
screen.c
1
screen.c
@ -83,6 +83,7 @@ screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit)
|
|||||||
|
|
||||||
s->cstyle = SCREEN_CURSOR_DEFAULT;
|
s->cstyle = SCREEN_CURSOR_DEFAULT;
|
||||||
s->default_cstyle = SCREEN_CURSOR_DEFAULT;
|
s->default_cstyle = SCREEN_CURSOR_DEFAULT;
|
||||||
|
s->mode = MODE_CURSOR;
|
||||||
s->default_mode = 0;
|
s->default_mode = 0;
|
||||||
s->ccolour = -1;
|
s->ccolour = -1;
|
||||||
s->default_ccolour = -1;
|
s->default_ccolour = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user