commit fe22da6b2a1a4ee6b65d3d6ff931a39d54a18957
parent 0c87a4ba41ec83e504f7b9bf3b052f76242f64ba
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Fri, 27 Nov 2020 14:15:42 +0100
build: exclude a workaround for VTE/Konsole when using a recent ncurses
The workaround was for https://savannah.gnu.org/bugs/?51335
(a cursor-misplacement bug), but both an recent Xfce Terminal
and a recent Konsole appear unaffected by the issue. So, drop
the workaround for modern systems.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/winio.c b/src/winio.c
@@ -2131,9 +2131,11 @@ void statusline(message_type importance, const char *msg, ...)
waddstr(bottomwin, " ]");
wattroff(bottomwin, colorpair);
+#ifdef USING_OLDER_LIBVTE
/* Defeat a VTE/Konsole bug, where the cursor can go off-limits. */
if (ISSET(CONSTANT_SHOW) && ISSET(NO_HELP))
wmove(bottomwin, 0, 0);
+#endif
/* Push the message to the screen straightaway. */
wrefresh(bottomwin);