MCPcopy Index your code
hub / github.com/prompt-toolkit/ptpython / goto_next

Function goto_next

src/ptpython/layout.py:124–128  ·  view source on GitHub ↗

Select item and go to next value.

(mouse_event: MouseEvent)

Source from the content-addressed store, hash-verified

122
123 @if_mousedown
124 def goto_next(mouse_event: MouseEvent) -> None:
125 "Select item and go to next value."
126 python_input.selected_option_index = index
127 option = python_input.selected_option
128 option.activate_next()
129
130 sel = ",selected" if selected else ""
131

Callers

nothing calls this directly

Calls 1

activate_nextMethod · 0.80

Tested by

no test coverage detected