MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / shape

Method shape

crates/opencode-tui/src/components/spinner.rs:29–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27
28impl TaskKind {
29 pub fn shape(self) -> &'static str {
30 match self {
31 Self::LlmRequest => "◆",
32 Self::LlmResponse => "▶",
33 Self::FileRead => "◈",
34 Self::FileWrite => "◇",
35 Self::CommandExec => "⬡",
36 Self::ToolCall => "●",
37 }
38 }
39
40 pub fn inactive_shape() -> &'static str {
41 "·"

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected