commit d7b2b55bf5cce237b39a83143ad49ea48a5611d2
parent 9875252fd7f1daedc7141353d54bdbdb898e0bcb
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 10 Aug 2020 12:12:52 +0200
display: show the cursor position also right after the screen is resized
Bug existed since commit 8e226a9f from half an hour ago.
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/text.c b/src/text.c
@@ -3016,17 +3016,17 @@ void do_verbatim_input(void)
/* When something valid was obtained, unsuppress cursor-position display,
* insert the bytes into the edit buffer, and blank the status bar. */
- if (0 < count && count < 999) {
+ if (count > 0) {
if (ISSET(CONSTANT_SHOW))
lastmessage = VACUUM;
- inject(bytes, count);
+ if (count < 999)
+ inject(bytes, count);
+
wipe_statusbar();
- } else if (count == 0)
+ } else
/* TRANSLATORS: An invalid verbatim Unicode code was typed. */
statusline(ALERT, _("Invalid code"));
- else
- wipe_statusbar();
free(bytes);
}