Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

feat(list): Dim removable branches while preserving color

Maximilian Roos3739281312a9
diff --git a/src/commands/list/render.rs b/src/commands/list/render.rs
index adf22aaf7..2ed62fe8a 100644
--- a/src/commands/list/render.rs
+++ b/src/commands/list/render.rs
@@ -371,9 +371,9 @@ pub fn format_list_item_line(
}
});
- // Override styling if removable (dim the row)
+ // Override styling if removable (dim the row, preserving existing color)
let text_style = if removable {
- Some(Style::new().dimmed())
+ Some(text_style.unwrap_or_default().dimmed())
} else {
text_style
};