Fix: When entering a digraph or special character after a line that fits the
window the '?' or '^' on the next line is not redrawn. (Ian Kelling)
diff --git a/src/edit.c b/src/edit.c
index 2db06cf..e5f6b33 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1547,6 +1547,8 @@
#endif
c = get_literal();
+ edit_unputchar(); /* when line fits in 'columns' the '^' is at the start
+ of the next line and will not be redrawn */
#ifdef FEAT_CMDL_INFO
clear_showcmd();
#endif
@@ -9620,6 +9622,9 @@
c = plain_vgetc();
--no_mapping;
--allow_keys;
+ edit_unputchar(); /* when line fits in 'columns' the '?' is at the start
+ of the next line and will not be redrawn */
+
if (IS_SPECIAL(c) || mod_mask) /* special key */
{
#ifdef FEAT_CMDL_INFO
@@ -9652,6 +9657,8 @@
cc = plain_vgetc();
--no_mapping;
--allow_keys;
+ edit_unputchar(); /* when line fits in 'columns' the '?' is at the
+ start of the next line and will not be redrawn */
if (cc != ESC)
{
AppendToRedobuff((char_u *)CTRL_V_STR);
@@ -9662,7 +9669,6 @@
return c;
}
}
- edit_unputchar();
#ifdef FEAT_CMDL_INFO
clear_showcmd();
#endif