MCPcopy Index your code
hub / github.com/ipython/ipython / accept_and_move_cursor_left

Function accept_and_move_cursor_left

IPython/terminal/shortcuts/auto_suggest.py:522–525  ·  view source on GitHub ↗

Accept autosuggestion and move cursor left in place

(event: KeyPressEvent)

Source from the content-addressed store, hash-verified

520
521
522def accept_and_move_cursor_left(event: KeyPressEvent):
523 """Accept autosuggestion and move cursor left in place"""
524 accept_and_keep_cursor(event)
525 nc.backward_char(event)
526
527
528def _update_hint(buffer: Buffer):

Callers

nothing calls this directly

Calls 1

accept_and_keep_cursorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…