MCPcopy
hub / github.com/donnemartin/gitsome / reset_buffer

Method reset_buffer

xonsh/base_shell.py:494–498  ·  view source on GitHub ↗

Resets the line buffer.

(self)

Source from the content-addressed store, hash-verified

492 return src, code
493
494 def reset_buffer(self):
495 """Resets the line buffer."""
496 self.buffer.clear()
497 self.need_more_lines = False
498 self.mlprompt = None
499
500 def settitle(self):
501 """Sets terminal title."""

Callers 6

compileMethod · 0.95
cmdloopMethod · 0.80
_pushMethod · 0.80
cmdloopMethod · 0.80
_pushMethod · 0.80
cmdloopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected