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

Function yank_prev_prev_killed_text

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

Source from the content-addressed store, hash-verified

292
293@edit_keys.on("<Esc+y>")
294def yank_prev_prev_killed_text(cursor_offset, line, cut_buffer):
295 # TODO not implemented - just prev
296 return (
297 cursor_offset + len(cut_buffer),
298 line[:cursor_offset] + cut_buffer + line[cursor_offset:],
299 )
300
301
302@edit_keys.on(config="yank_from_buffer_key")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected