MCPcopy Create free account
hub / github.com/Louisym/MiniCC / finish_code_block

Method finish_code_block

rust/crates/rusty-claude-cli/src/render.rs:471–479  ·  view source on GitHub ↗
(&self, code_buffer: &str, code_language: &str, output: &mut String)

Source from the content-addressed store, hash-verified

469 }
470
471 fn finish_code_block(&self, code_buffer: &str, code_language: &str, output: &mut String) {
472 output.push_str(&self.highlight_code(code_buffer, code_language));
473 let _ = write!(
474 output,
475 "{}",
476 "╰─".bold().with(self.color_theme.code_block_border)
477 );
478 output.push_str("\n\n");
479 }
480
481 fn push_text(
482 &self,

Callers 1

render_eventMethod · 0.80

Calls 1

highlight_codeMethod · 0.80

Tested by

no test coverage detected