mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
Cleaner column width calc
This commit is contained in:
@@ -179,6 +179,7 @@ fn compute_desc_col(
|
||||
};
|
||||
|
||||
name_column_width
|
||||
.map(|width| width.max(max_name_width))
|
||||
.unwrap_or(max_name_width)
|
||||
.saturating_add(2)
|
||||
.min(max_auto_desc_col)
|
||||
|
||||
Reference in New Issue
Block a user