0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.0.0920: cursor wrong after switching altscreen in terminal

Problem:    The cursor shape is wrong after switch back from an alternate
            screen in a terminal window. (arius Gedminas)
Solution:   Change bitfield to unsigned.  Set flag that cursor shape was set.
This commit is contained in:
Bram Moolenaar
2017-08-12 21:15:34 +02:00
parent c977092053
commit 893029ab20
3 changed files with 5 additions and 2 deletions

View File

@@ -144,8 +144,8 @@ struct VTermState
struct VTermPen pen;
struct {
int cursor_visible:1;
int cursor_blink:1;
unsigned int cursor_visible:1;
unsigned int cursor_blink:1;
unsigned int cursor_shape:2;
} mode;
} saved;