Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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>"
)
175
def
left_arrow(cursor_offset, line):
176
return
max(0, cursor_offset - 1), line
177
178
179
@edit_keys.on(config=
"right_key"
)
Callers
2
test_left_arrow_at_zero
Method · 0.90
test_left_arrow_at_non_zero
Method · 0.90
Calls
no outgoing calls
Tested by
2
test_left_arrow_at_zero
Method · 0.72
test_left_arrow_at_non_zero
Method · 0.72