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

Function yank_prev_killed_text

bpython/curtsiesfrontend/manual_readline.py:303–307  ·  view source on GitHub ↗
(cursor_offset, line, cut_buffer)

Source from the content-addressed store, hash-verified

301
302@edit_keys.on(config="yank_from_buffer_key")
303def yank_prev_killed_text(cursor_offset, line, cut_buffer):
304 return (
305 cursor_offset + len(cut_buffer),
306 line[:cursor_offset] + cut_buffer + line[cursor_offset:],
307 )
308
309
310@edit_keys.on(config="transpose_chars_key")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected