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

Method refresh_command_menu

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

Source from the content-addressed store, hash-verified

6 }
7
8 fn refresh_command_menu(&mut self) {
9 self.command_menu.update(&self.text_input.input, self.text_input.cursor);
10 }
11
12 /// Send user input, returns the input text if non-empty
13 pub fn send_input(&mut self) -> Option<String> {

Callers 14

handle_mouse_eventMethod · 0.45
send_inputMethod · 0.45
handle_charMethod · 0.45
handle_newlineMethod · 0.45
handle_backspaceMethod · 0.45
move_cursor_leftMethod · 0.45
move_cursor_rightMethod · 0.45
set_cursor_homeMethod · 0.45
set_cursor_endMethod · 0.45
clear_inputMethod · 0.45
set_inputMethod · 0.45

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected