Commit: patch 9.1.1427: rendering artifacts with the tabpanel

1 view
Skip to first unread message

Christian Brabandt

unread,
Jun 3, 2025, 3:15:13 PM6/3/25
to vim...@googlegroups.com
patch 9.1.1427: rendering artifacts with the tabpanel

Commit: https://github.com/vim/vim/commit/b29e37133dbb5beb2031450499be6ec6cf3c660d
Author: Hirohito Higashi <h.eas...@gmail.com>
Date: Tue Jun 3 20:57:57 2025 +0200

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.eas...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/drawscreen.c b/src/drawscreen.c
index 60b76d57c..37c8f4225 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -339,10 +339,6 @@ update_screen(int type_arg)
win_redr_status(wp, TRUE); // any popup menu will be redrawn below
}
}
-#if defined(FEAT_TABPANEL)
- if (redraw_tabpanel)
- draw_tabpanel();
-#endif
#if defined(FEAT_SEARCH_EXTRA)
end_search_hl();
#endif
diff --git a/src/term.c b/src/term.c
index bf5636129..b7a82da0a 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4478,7 +4478,7 @@ scroll_region_reset(void)
{
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
}

diff --git a/src/version.c b/src/version.c
index 3160bdfec..c9a1c16f7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -709,6 +709,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1427,
/**/
1426,
/**/
Reply all
Reply to author
Forward
0 new messages