fix: Use trim_fmt() before trim_end() for comfy-table output

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-09-08 18:52:48 -03:00
parent 8cb7559d5d
commit 9a6b0ceced
4 changed files with 13 additions and 8 deletions

View File

@@ -167,7 +167,7 @@ pub fn mode_list(
table.add_row(table_row);
}
println!("{}", table.trim_end());
println!("{}", table.trim_fmt().trim_end());
Ok(())
}