Skip to content

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

Reset styles at end of line to prevent leaking

Maximilian Roos5efe7bffdda7
diff --git a/src/styling.rs b/src/styling.rs
index f8051f2c1..097241532 100644
--- a/src/styling.rs
+++ b/src/styling.rs
@@ -424,6 +424,8 @@ pub fn format_bash_with_gutter(content: &str, left_margin: &str) -> String {
}
}
+ // Ensure all styles are reset at end of line to prevent leaking into child process output
+ output.push_str(&format!("{:#}", Style::new()));
output.push('\n');
}