Border: allow to enable/disable specific border edges

This commit is contained in:
Björn Linse
2021-03-26 00:45:27 +01:00
parent 76f5c72860
commit a4d3804837
10 changed files with 211 additions and 48 deletions

View File

@@ -1085,6 +1085,7 @@ typedef struct {
bool focusable;
WinStyle style;
bool border;
bool shadow;
schar_T border_chars[8];
int border_hl_ids[8];
int border_attr[8];
@@ -1266,7 +1267,7 @@ struct window_S {
int w_height_request;
int w_width_request;
int w_border_adj;
int w_border_adj[4]; // top, right, bottom, left
// outer size of window grid, including border
int w_height_outer;
int w_width_outer;