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

@ -6413,7 +6413,9 @@ mode([expr]) Return a string that indicates the current mode.
Rvx Virtual Replace mode |i_CTRL-X| completion
c Command-line editing
ct Command-line editing via Terminal-Job mode
cr Command-line while in overstrike mode |c_<Insert>|
cv Vim Ex mode |gQ|
cvr Vim Ex while in overstrike mode |c_<Insert>|
ce Normal Ex mode |Q|
r Hit-enter prompt
rm The -- more -- prompt