pub fn truncate_path(path: &str, max_width: usize) -> StringExpand description
Truncate a path to max_width terminal columns, eliding the middle.
The tail is what differs between rows (.next/standalone vs .next/server),
so it keeps the larger share and the root stays visible:
/Users/zee/…/maliqe-website/.next/standalone.