-
I'm working on setting WezTerm up exactly how I want it, but I can't find a way to set padding/margin for panes? Is there none? I'm rather particular about margins, and having absolutely zero space between text and dividers is making me uncomfortable. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Today the padding is at the window level, with pane dividers having 0.5 cell padding; you shouldn't be in a situation where the divider is right up against the text. What sort of padding would you like to be able to specify? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
While per pane padding, or gaps, is a nice to have, I am also looking for the ability to thicken the pane divider / separators. As they are very thin at the moment and difficult to see on certain screens. |
Beta Was this translation helpful? Give feedback.
-
I'd like to see something like window_frame: I created this function to change the color of the window border under specific conditions, like being in tab mode, which helps to avoid unintended behavior from forgetting what mode you're in: function CreateWindowBorderToggle(color)
local is_active = false
return function(window)
is_active = not is_active
window:set_config_overrides({
window_frame = {
border_left_width = is_active and "0.25%" or "0px",
border_right_width = is_active and "0.25%" or "0px",
border_top_height = is_active and "0.25%" or "0px",
border_bottom_height = is_active and "0.25%" or "0px",
border_left_color = is_active and color or "transparent",
border_right_color = is_active and color or "transparent",
border_top_color = is_active and color or "transparent",
border_bottom_color = is_active and color or "transparent",
},
})
return is_active
end
end it would be nice to do the same for panes in pane mode something like: function CreatePaneBorderToggle(color)
local is_active = false
return function(pane)
is_active = not is_active
pane:set_config_overrides({
pane_frame = {
border_left_width = is_active and "0.25%" or "0px",
border_right_width = is_active and "0.25%" or "0px",
border_top_height = is_active and "0.25%" or "0px",
border_bottom_height = is_active and "0.25%" or "0px",
border_left_color = is_active and color or "transparent",
border_right_color = is_active and color or "transparent",
border_top_color = is_active and color or "transparent",
border_bottom_color = is_active and color or "transparent",
},
})
return is_active
end
end |
Beta Was this translation helpful? Give feedback.
Today the padding is at the window level, with pane dividers having 0.5 cell padding; you shouldn't be in a situation where the divider is right up against the text.
What sort of padding would you like to be able to specify?