mirror of
https://github.com/vim/vim.git
synced 2025-12-18 12:01:36 +01:00
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:
committed by
Christian Brabandt
parent
24e4fa1603
commit
cf4d9625c6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user