fn detect_terminal_width() -> usize
Try to work out the width of the terminal we’re on, or fall back to a sensible default value.