Function alacritty::display::window_size[][src]

fn window_size(
    config: &UiConfig,
    dimensions: Dimensions,
    cell_width: f32,
    cell_height: f32,
    dpr: f64
) -> PhysicalSize<u32>
Expand description

Calculate the size of the window given padding, terminal dimensions and cell size.