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

Method suppress

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

Source from the content-addressed store, hash-verified

229 }
230
231 fn suppress(&mut self) {
232 self.visible = false;
233 self.suppressed = true;
234 self.items.clear();
235 self.list_state.select(None);
236 self.last_area = None;
237 }
238
239 fn hide(&mut self) {
240 self.visible = false;

Callers 1

apply_selectionMethod · 0.80

Calls 2

clearMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected