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

Method MoveUp

internal/tui/branch_warning.go:152–156  ·  view source on GitHub ↗

MoveUp moves selection up.

()

Source from the content-addressed store, hash-verified

150
151// MoveUp moves selection up.
152func (b *BranchWarning) MoveUp() {
153 if b.selectedIndex > 0 {
154 b.selectedIndex--
155 }
156}
157
158// MoveDown moves selection down.
159func (b *BranchWarning) MoveDown() {

Callers 1

Calls

no outgoing calls

Tested by 1