Skip to main content

diff_side_by_side_fits

Function diff_side_by_side_fits 

Source
pub const fn diff_side_by_side_fits(available_width: Option<usize>) -> bool
Expand description

Whether a measured width can support the paired old/new preview.

An unknown width preserves the existing caller behavior; redirected output and test sinks may not expose terminal sizing at all.