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

Method hide

src/apps/cli/src/ui/command_menu.rs:239–244  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

237 }
238
239 fn hide(&mut self) {
240 self.visible = false;
241 self.items.clear();
242 self.list_state.select(None);
243 self.last_area = None;
244 }
245
246 fn item_index_at(&self, column: u16, row: u16, area: Rect) -> Option<usize> {
247 if area.width < 3 || area.height < 3 {

Callers 1

update_with_commandsMethod · 0.45

Calls 2

clearMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected