Skip to main content

chafa_size_arg

Function chafa_size_arg 

Source
pub fn chafa_size_arg() -> String
Expand description

The --size WxH argument passed to chafa, derived from the shared logo cell box.

Chafa fits the image inside this box preserving aspect ratio, so this is a maximum in both dimensions rather than a target — a wide logo comes back short, a tall one narrow.