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

Method advance_tab

src/apps/cli/src/ui/question.rs:423–428  ·  view source on GitHub ↗

Advance to the next tab

(&mut self)

Source from the content-addressed store, hash-verified

421
422 /// Advance to the next tab
423 fn advance_tab(&mut self) {
424 if self.current_tab < self.tab_count() - 1 {
425 self.current_tab += 1;
426 self.selected_option = 0;
427 }
428 }
429}
430
431// ============ Rendering ============

Callers 2

handle_editing_keyMethod · 0.80
select_current_optionMethod · 0.80

Calls 1

tab_countMethod · 0.80

Tested by

no test coverage detected