MCPcopy Create free account
hub / github.com/bpython/bpython / right_arrow

Function right_arrow

bpython/curtsiesfrontend/manual_readline.py:181–182  ·  view source on GitHub ↗
(cursor_offset, line)

Source from the content-addressed store, hash-verified

179@edit_keys.on(config="right_key")
180@edit_keys.on("<RIGHT>")
181def right_arrow(cursor_offset, line):
182 return min(len(line), cursor_offset + 1), line
183
184
185@edit_keys.on(config="beginning_of_line_key")

Callers 2

Calls

no outgoing calls

Tested by 2