Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpython/bpython
/ delete_from_cursor_back
Function
delete_from_cursor_back
bpython/curtsiesfrontend/manual_readline.py:257–258 ·
view source on GitHub ↗
(cursor_offset, line)
Source
from the content-addressed store, hash-verified
255
256
@edit_keys.on(config=
"clear_line_key"
)
257
def
delete_from_cursor_back(cursor_offset, line):
258
return
0, line[cursor_offset:]
259
260
261
delete_rest_of_word_re = LazyReCompile(r
"\w\b"
)
Callers
1
test_delete_from_cursor_back
Method · 0.90
Calls
no outgoing calls
Tested by
1
test_delete_from_cursor_back
Method · 0.72