From 69a0e5d8bd08e91306e042ed9a00a38ae359d8f0 Mon Sep 17 00:00:00 2001 From: Gianluigi Spagnuolo Date: Fri, 13 Feb 2026 14:19:44 +0100 Subject: [PATCH] fix: prevent ID column from wrapping in object list table #1 --- src/commands/object.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/commands/object.rs b/src/commands/object.rs index 419c261..cf9ba69 100644 --- a/src/commands/object.rs +++ b/src/commands/object.rs @@ -30,6 +30,11 @@ pub async fn run_list(client: &AnalyzerClient, format: Format) -> Result<()> { let mut table = styled_table(); table.set_header(vec!["ID", "Name", "Description", "Score", "Tags"]); + // Prevent the ID column from wrapping so UUIDs stay on one line + // and remain easy to copy/paste. + if let Some(col) = table.column_mut(0) { + col.set_constraint(comfy_table::ColumnConstraint::ContentWidth); + } for obj in &objects { let score = obj