&& ScreenLines[off_from + 1]
!= ScreenLines[off_to + 1])))))
return TRUE;
- // TODO: This is a temporary solution until the root cause is fixed.
- if (firstwin->w_wincol > 0)
- return TRUE;
return FALSE;
}
LineOffset[j + line_count] = temp;
LineWraps[j + line_count] = FALSE;
if (can_clear((char_u *)" "))
- lineclear(temp, topframe->fr_width, clear_attr);
+ lineclear(temp, (int)Columns, clear_attr);
else
- lineinvalid(temp, topframe->fr_width);
+ lineinvalid(temp, (int)Columns);
}
}
--- /dev/null
+| +0&#ffffff0@57||+1&&|++2&&| |[|N|o| |N|a|m|e|]| @7
+> +0&&@57||+1&&| @18
+|a+0&&@2| @54||+1&&| @18
+|~+0#4040ff13&| @56||+1#0000000&| @18
+|~+0#4040ff13&| @56||+1#0000000&| @18
+|~+0#4040ff13&| @56||+1#0000000&| @18
+|~+0#4040ff13&| @56||+1#0000000&| @18
+|~+0#4040ff13&| @56||+1#0000000&| @18
+|~+0#4040ff13&| @56||+1#0000000&| @18
+|-+2&&@1| |I|N|S|E|R|T| |-@1| +0&&@47|2|,|1| @10|A|l@1|
--- /dev/null
+|++2&#ffffff0| |[|N|o| |N|a|m|e|]| @7||+1&&| +0&&@57
+| +1&&@18||> +0&&@57
+| +1&&@18|||a+0&&@2| @54
+| +1&&@18|||~+0#4040ff13&| @56
+| +1#0000000&@18|||~+0#4040ff13&| @56
+| +1#0000000&@18|||~+0#4040ff13&| @56
+| +1#0000000&@18|||~+0#4040ff13&| @56
+| +1#0000000&@18|||~+0#4040ff13&| @56
+| +1#0000000&@18|||~+0#4040ff13&| @56
+|-+2#0000000&@1| |I|N|S|E|R|T| |-@1| +0&&@47|2|,|1| @10|A|l@1|
call StopVimInTerminal(buf)
endfunc
+function Test_tabpanel_drawing_2()
+ CheckScreendump
+
+ let lines =<< trim END
+ set showtabpanel=2
+ set tabpanelopt=align:right,vert
+ call setbufline(bufnr(), 1, ['', 'aaa'])
+ END
+ call writefile(lines, 'XTest_tabpanel_drawing_2', 'D')
+
+ let buf = RunVimInTerminal('-S XTest_tabpanel_drawing_2', {'rows': 10, 'cols': 78})
+ call term_sendkeys(buf, "ggo")
+ call VerifyScreenDump(buf, 'Test_tabpanel_drawing_2_0', {})
+
+ call term_sendkeys(buf, "\<Esc>u:set tabpanelopt+=align:left\<CR>")
+ call term_sendkeys(buf, "ggo")
+ call VerifyScreenDump(buf, 'Test_tabpanel_drawing_2_1', {})
+
+ call StopVimInTerminal(buf)
+endfunc
+
function Test_tabpanel_drawing_with_popupwin()
CheckScreendump
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1575,
/**/
1574,
/**/