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 #8640)
diff --git a/src/misc1.c b/src/misc1.c
index 7d7f022..9708502 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -652,7 +652,11 @@
if (VIsual_select)
buf[0] = VIsual_mode + 's' - 'v';
else
+ {
buf[0] = VIsual_mode;
+ if (restart_VIsual_select)
+ buf[1] = 's';
+ }
}
else if (State == HITRETURN || State == ASKMORE || State == SETWSIZE
|| State == CONFIRM)