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>
This commit is contained in:
Hirohito Higashi
2025-06-03 20:57:57 +02:00
committed by Christian Brabandt
parent 2090405de5
commit b29e37133d
3 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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
}

View File

@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1427,
/**/
1426,
/**/