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

Function reset_buffer

IPython/terminal/shortcuts/__init__.py:486–492  ·  view source on GitHub ↗

Reset buffer

(event)

Source from the content-addressed store, hash-verified

484
485
486def reset_buffer(event):
487 """Reset buffer"""
488 b = event.current_buffer
489 if b.complete_state:
490 b.cancel_completion()
491 else:
492 b.reset()
493
494
495def reset_search_buffer(event):

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…