MCPcopy Index your code
hub / github.com/bpython/bpython / clear

Method clear

bpython/urwid.py:246–248  ·  view source on GitHub ↗

Clear the status bar.

(self)

Source from the content-addressed store, hash-verified

244 self.s = s
245
246 def clear(self):
247 """Clear the status bar."""
248 self.settext("")
249
250 def _on_prompt_enter(self, edit, new_text):
251 """Reset the statusbar and pass the input from the prompt to the caller

Callers 3

_combined_eventsFunction · 0.45
resetMethod · 0.45
activateMethod · 0.45

Calls 1

settextMethod · 0.95

Tested by

no test coverage detected