Replies: 1 comment
-
Found the exact spot:
if split.direction == SplitDirection::Horizontal {
self.filled_rectangle(
layers,
2,
euclid::rect(
pos_x + (cell_width / 2.0),
pos_y - (cell_height / 2.0),
self.render_metrics.underline_height as f32 + 4.0,
(1. + split.size as f32) * cell_height,
),
LinearRgba(1.0,0.0,0.0,1.0)
)?; Adding the However, just adding the pixel value might not be optimal or maintainable, so I want to get some advice first. @wez Follow up: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What Operating System(s) are you running on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
KDE
WezTerm version
HEAD commit
4050072da21cc3106d0985281d75978c07e22abc
Ask your question!
Got wezterm to compile and made sure the changes apply by changing the
set_fg_color
inmod.rs
toLinearRgba(1.0, 0.0, 0.0, 1.0)
, and indeed the background turns red. (doesn't "fg" usually represent foreground like the text?)However, pardon my inexperience, this is my first time compiling and changing rust code, and I am not sure how the pane dividers are defined.
What data structure should I modify in order for the thickness of the pane divider to be change? By divider I mean the pane separator when
splitHorizontal
orsplitVertical
is triggered. Or is this not possible due to the rendering framework? I see that the window is wrapped in aquad
struct, and thenrect
s are drawn within, which suggests that modifying the pane's divider might not be easy as the sides might be defined inrect
and are calculated in tandem.Beta Was this translation helpful? Give feedback.
All reactions