alacritty::display

Function compute_cell_size

source
fn compute_cell_size(config: &UiConfig, metrics: &Metrics) -> (f32, f32)
Expand description

Calculate the cell dimensions based on font metrics.

This will return a tuple of the cell width and height.