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

This commit is contained in:
Dark-Alex-17 committed 2026-07-23 18:45:23 -06:00
1 parent 5eb77ab467
commit d328310880
2 files changed
+53 -9

No files matched your search

+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)?)
}
}