Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ reset_buffer
Function
reset_buffer
IPython/terminal/shortcuts.py:182–187 ·
view source on GitHub ↗
(event)
Source
from the content-addressed store, hash-verified
180
181
182
def
reset_buffer(event):
183
b = event.current_buffer
184
if
b.complete_state:
185
b.cancel_completion()
186
else
:
187
b.reset()
188
189
190
def
reset_search_buffer(event):
Callers
nothing calls this directly
Calls
1
reset
Method · 0.45
Tested by
no test coverage detected