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

Method MoveUp

internal/tui/picker.go:242–249  ·  view source on GitHub ↗

MoveUp moves the selection up.

()

Source from the content-addressed store, hash-verified

240
241// MoveUp moves the selection up.
242func (p *PRDPicker) MoveUp() {
243 if p.inputMode {
244 return
245 }
246 if p.selectedIndex > 0 {
247 p.selectedIndex--
248 }
249}
250
251// MoveDown moves the selection down.
252func (p *PRDPicker) MoveDown() {

Callers 4

handleQuitConfirmKeysMethod · 0.45
handleSettingsKeysMethod · 0.45
handlePickerKeysMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected