MCPcopy Index your code
hub / github.com/RustPython/RustPython / repaint

Method repaint

Lib/_pyrepl/unix_console.py:773–783  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

771 self.cursor_visible = 1
772
773 def repaint(self):
774 if not self.__gone_tall:
775 self.posxy = 0, self.posxy[1]
776 self.__write("\r")
777 ns = len(self.screen) * ["\000" * self.width]
778 self.screen = ns
779 else:
780 self.posxy = 0, self.__offset
781 self.__move(0, self.__offset)
782 ns = self.height * ["\000" * self.width]
783 self.screen = ns
784
785 def __tputs(self, fmt, prog=delayprog):
786 """A Python implementation of the curses tputs function; the

Callers

nothing calls this directly

Calls 2

__writeMethod · 0.95
lenFunction · 0.85

Tested by

no test coverage detected