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() { if start >= end || log_text.is_empty() {
vec![Line::from("No logs yet")] vec![Line::from("No logs yet")]
} else { } else {
log_text[start..end] log_text[start..end]
.iter() .iter()
.map(|s| { .map(|s| {
let text_with_colors = s let text_with_colors = s
.into_text() .into_text()
.unwrap_or_else(|_| Text::raw("--unrenderable line--")); .unwrap_or_else(|_| Text::raw("--unrenderable line--"));
text_with_colors text_with_colors
.lines .lines
.into_iter() .into_iter()
.next() .next()
.unwrap_or_else(|| Line::raw("--unrenderable line--")) .unwrap_or_else(|| Line::raw("--unrenderable line--"))
}) })
.collect() .collect()
} }
} else { } else {
vec![Line::from("No logs yet")] vec![Line::from("No logs yet")]