From dd68c4ba03a0bd16d8ccb6d4a16f97e7bfd32366 Mon Sep 17 00:00:00 2001 From: Vasilito Date: Tue, 21 Apr 2026 16:15:17 +0100 Subject: [PATCH] Fix TUI log indentation in repo cook view Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/bin/repo.rs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/bin/repo.rs b/src/bin/repo.rs index 709e63b2..cc69e819 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -1558,19 +1558,19 @@ fn run_tui_cook(config: CliConfig, recipes: Vec) -> Result= 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")]