Skip to main content

block_cols

Function block_cols 

Source
pub fn block_cols(rendered: &str) -> usize
Expand description

Visible column count of the widest line in rendered. Both styles emit exactly one terminal cell per char, so chars().count() is the correct cell count.