vim-patch:8.2.3236: mode() does not indicate using CTRL-O in Select mode

Problem:    mode() does not indicate using CTRL-O in Select mode.
Solution:   Use "vs" and similar. (closes vim/vim#8640)
eaf3f36168
This commit is contained in:
zeertzjq
2021-07-29 07:12:11 +08:00
parent ac5139eae4
commit 04ba81ddba
5 changed files with 19 additions and 2 deletions

View File

@@ -144,6 +144,9 @@ char *get_mode(void)
buf[0] = (char)(VIsual_mode + 's' - 'v');
} else {
buf[0] = (char)VIsual_mode;
if (restart_VIsual_select) {
buf[1] = 's';
}
}
} else if (State == HITRETURN || State == ASKMORE || State == SETWSIZE
|| State == CONFIRM) {