1
0
forked from aniani/vim

patch 9.0.2133: Cannot detect overstrike mode in Cmdline mode

Problem:  Cannot detect overstrike mode in Cmdline mode
Solution: Make mode() return "cr" for overstrike

closes: #13569

Signed-off-by: Sam-programs <None>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Sam-programs
2023-11-27 22:22:51 +01:00
committed by Christian Brabandt
parent 5c23343770
commit d1c3ef1f47
7 changed files with 51 additions and 2 deletions

View File

@@ -720,6 +720,8 @@ get_mode(char_u *buf)
buf[i++] = 'v';
else if (exmode_active == EXMODE_NORMAL)
buf[i++] = 'e';
if ((State & MODE_CMDLINE) && cmdline_overstrike())
buf[i++] = 'r';
}
else
{