Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ new
Method
new
crates/opencode-tui/src/components/tool_call.rs:52–54 ·
view source on GitHub ↗
(tool_call: ToolCall)
Source
from the content-addressed store, hash-verified
50
51
impl ToolCallView {
52
pub fn new(tool_call: ToolCall) -> Self {
53
Self { tool_call }
54
}
55
56
pub fn render(&self, frame: &mut Frame, area: Rect, theme: &Theme) {
57
let status_icon = match self.tool_call.status {
Callers
nothing calls this directly
Calls
1
count
Method · 0.80
Tested by
no test coverage detected