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

Method with_placeholder

crates/opencode-tui/src/components/prompt.rs:189–192  ·  view source on GitHub ↗
(mut self, placeholder: &str)

Source from the content-addressed store, hash-verified

187 }
188
189 pub fn with_placeholder(mut self, placeholder: &str) -> Self {
190 self.placeholder = placeholder.to_string();
191 self
192 }
193
194 pub fn set_agent_suggestions(&mut self, agents: Vec<String>) {
195 if agents.is_empty() {

Callers 2

renderMethod · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected