feat: Improved theme-derived syntax highlighting for LLM tool call logging

This commit is contained in:
2026-07-23 18:45:23 -06:00
parent 5eb77ab467
commit d328310880
2 changed files with 53 additions and 9 deletions
+5 -1
View File
@@ -210,7 +210,11 @@ async fn main() -> Result<()> {
{
let app = &*ctx.app.config;
if app.highlight {
set_global_render_config(prompt_theme(app.render_options()?)?)
let render_opts = app.render_options()?;
if let Some(ref theme) = render_opts.theme {
utils::init_tool_colors(theme);
}
set_global_render_config(prompt_theme(render_opts)?)
}
}