MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / MoveUp

Method MoveUp

internal/tui/settings.go:86–90  ·  view source on GitHub ↗

MoveUp moves the selection up.

()

Source from the content-addressed store, hash-verified

84
85// MoveUp moves the selection up.
86func (s *SettingsOverlay) MoveUp() {
87 if s.selectedIndex > 0 {
88 s.selectedIndex--
89 }
90}
91
92// MoveDown moves the selection down.
93func (s *SettingsOverlay) MoveDown() {

Callers 1

Calls

no outgoing calls

Tested by 1