pub fn frame_junction(edge: Edge, bar: Weight, stem: Weight, g: &Glyphs) -> charExpand description
Pick the box-drawing junction for a frame edge cell that a divider abuts.
edge— which frame edge the cell is on.bar— the frame border’s own weight (Double when the window is active).stem— the abutting divider’s weight.
The naming key in Glyphs: _d = both double; _dh/_dv = double bar
with a single perpendicular stem; _sh/_sv = single bar with a double stem.
For Top/Bottom the bar is horizontal (_dh/_sh); for Left/Right the bar is
vertical (_dv/_sv).