Fix TUI log indentation in repo cook view

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-21 16:15:17 +01:00
parent 7f2979f25e
commit dd68c4ba03
+13 -13
View File
@@ -1558,19 +1558,19 @@ fn run_tui_cook(config: CliConfig, recipes: Vec<CookRecipe>) -> Result<TuiApp, c
if start >= end || log_text.is_empty() {
vec![Line::from("No logs yet")]
} else {
log_text[start..end]
.iter()
.map(|s| {
let text_with_colors = s
.into_text()
.unwrap_or_else(|_| Text::raw("--unrenderable line--"));
text_with_colors
.lines
.into_iter()
.next()
.unwrap_or_else(|| Line::raw("--unrenderable line--"))
})
.collect()
log_text[start..end]
.iter()
.map(|s| {
let text_with_colors = s
.into_text()
.unwrap_or_else(|_| Text::raw("--unrenderable line--"));
text_with_colors
.lines
.into_iter()
.next()
.unwrap_or_else(|| Line::raw("--unrenderable line--"))
})
.collect()
}
} else {
vec![Line::from("No logs yet")]