Skip to main content

inner_width

Function inner_width 

Source
pub fn inner_width(preferred_width: u16, area_width: u16) -> usize
Expand description

Compute the usable inner width for content inside a dialog.

Returns the number of character columns available between the borders, accounting for the terminal width constraint.