patch 9.1.1898: tabpanel: inconsistent use of cmdline with tabpanel

Problem:  tabpanel: inconsistent use of cmdline and message area with
          tabpanel
Solution: Reduce the cmdline and message area by the horizontal size of
          the tabpanel (Hirohito Higashi)

closes: #18678

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-11-06 20:23:36 +00:00
committed by Christian Brabandt
parent 24e4fa1603
commit cf4d9625c6
93 changed files with 270 additions and 231 deletions

View File

@@ -4085,8 +4085,8 @@ syn_list_cluster(int id)
if (msg_col >= endcol) // output at least one space
endcol = msg_col + 1;
if (Columns <= (long)endcol) // avoid hang for tiny window
endcol = (int)(Columns - 1);
if (cmdline_width <= endcol) // avoid hang for tiny window
endcol = cmdline_width - 1;
msg_advance(endcol);
if (SYN_CLSTR(curwin->w_s)[id].scl_list != NULL)