patch 9.1.1427: rendering artifacts with the tabpanel
Commit:
https://github.com/vim/vim/commit/b29e37133dbb5beb2031450499be6ec6cf3c660d
Author: Hirohito Higashi <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1uMX6F-00Fdiz-Tr%40256bit.org.