patch 9.1.1427: rendering artifacts with the tabpanel
Problem: rendering artifacts with the tabpanel
(char101)
Solution: prevent double redraw, use Columns instead of frame width
(Hirohito Higashi)
fixes: #17429
closes: #17435
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/term.c b/src/term.c
index bf56361..b7a82da 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4478,7 +4478,7 @@
{
OUT_STR(tgoto((char *)T_CS, (int)Rows - 1, 0));
if (*T_CSV != NUL)
- OUT_STR(tgoto((char *)T_CSV, topframe->fr_width - 1, 0));
+ OUT_STR(tgoto((char *)T_CSV, Columns - 1, 0));
screen_start(); // don't know where cursor is now
}