MCPcopy Create free account
hub / github.com/docker/docker-agent / moveDown

Method moveDown

cmd/root/agent_picker.go:257–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255}
256
257func (m *agentPickerModel) moveDown() {
258 if m.cursor < len(m.choices)-1 {
259 m.cursor++
260 }
261 m.clampOffset()
262}
263
264// visibleCount returns the number of cards shown at once: all of them when
265// they fit (or before the first WindowSizeMsg), otherwise as many as fit the

Callers 3

UpdateMethod · 0.95
TestAgentPickerWindowingFunction · 0.45

Calls 1

clampOffsetMethod · 0.95

Tested by 2

TestAgentPickerWindowingFunction · 0.36