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

Function left_arrow

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

Source from the content-addressed store, hash-verified

173@edit_keys.on(config="left_key")
174@edit_keys.on("<LEFT>")
175def left_arrow(cursor_offset, line):
176 return max(0, cursor_offset - 1), line
177
178
179@edit_keys.on(config="right_key")

Callers 2

Calls

no outgoing calls

Tested by 2