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

Method clear_input

src/apps/cli/src/ui/chat/input.rs:61–64  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

59 }
60
61 pub fn clear_input(&mut self) {
62 self.text_input.clear();
63 self.refresh_command_menu();
64 }
65
66 /// Set input text programmatically (e.g. from skill selection)
67 pub fn set_input(&mut self, text: &str) {

Callers 1

handle_key_eventMethod · 0.80

Calls 2

clearMethod · 0.45
refresh_command_menuMethod · 0.45

Tested by

no test coverage detected