MCPcopy Index your code
hub / github.com/prompt-toolkit/ptpython / _

Function _

src/ptpython/key_bindings.py:64–68  ·  view source on GitHub ↗

Clear whole screen and render again -- also when the sidebar is visible.

(event: E)

Source from the content-addressed store, hash-verified

62
63 @handle("c-l")
64 def _(event: E) -> None:
65 """
66 Clear whole screen and render again -- also when the sidebar is visible.
67 """
68 event.app.renderer.clear()
69
70 @handle("c-z")
71 def _(event: E) -> None:

Callers

nothing calls this directly

Calls 6

at_the_endFunction · 0.85
auto_newlineFunction · 0.85
enter_historyMethod · 0.80
activate_nextMethod · 0.80
activate_previousMethod · 0.80
validateMethod · 0.45

Tested by

no test coverage detected