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

Function delete_from_cursor_forward

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

Source from the content-addressed store, hash-verified

340@edit_keys.on(config="cut_to_buffer_key")
341@kills_ahead
342def delete_from_cursor_forward(cursor_offset, line):
343 return cursor_offset, line[:cursor_offset], line[cursor_offset:]
344
345
346@edit_keys.on("<Esc+c>")

Callers 1

Calls

no outgoing calls

Tested by 1