MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / render_text

Method render_text

crates/opencode-tui/src/components/message.rs:128–131  ·  view source on GitHub ↗
(&self, content: &str, theme: &Theme)

Source from the content-addressed store, hash-verified

126 }
127
128 fn render_text(&self, content: &str, theme: &Theme) -> Vec<Line<'static>> {
129 let renderer = MarkdownRenderer::new(theme.clone()).with_concealed(self.concealed);
130 renderer.to_lines(content)
131 }
132
133 fn render_tool_call(
134 &self,

Callers 1

renderMethod · 0.80

Calls 4

newFunction · 0.85
with_concealedMethod · 0.80
cloneMethod · 0.45
to_linesMethod · 0.45

Tested by

no test coverage detected