MCPcopy Create free account
hub / github.com/GCWing/BitFun / set_input

Method set_input

src/apps/cli/src/ui/chat/input.rs:67–70  ·  view source on GitHub ↗

Set input text programmatically (e.g. from skill selection)

(&mut self, text: &str)

Source from the content-addressed store, hash-verified

65
66 /// Set input text programmatically (e.g. from skill selection)
67 pub fn set_input(&mut self, text: &str) {
68 self.text_input.set_text(text);
69 self.refresh_command_menu();
70 }
71
72 pub fn command_menu_visible(&self) -> bool {
73 self.command_menu.is_visible()

Callers 2

apply_skill_selectionMethod · 0.45

Calls 2

set_textMethod · 0.80
refresh_command_menuMethod · 0.45

Tested by

no test coverage detected