MCPcopy Index your code
hub / github.com/python/cpython / repaint

Method repaint

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

Source from the content-addressed store, hash-verified

790 self.cursor_visible = 1
791
792 def repaint(self):
793 if not self.__gone_tall:
794 self.posxy = 0, self.posxy[1]
795 self.__write("\r")
796 ns = len(self.screen) * ["\000" * self.width]
797 self.screen = ns
798 else:
799 self.posxy = 0, self.__offset
800 self.__move(0, self.__offset)
801 ns = self.height * ["\000" * self.width]
802 self.screen = ns
803
804 def __tputs(self, fmt, prog=delayprog):
805 """A Python implementation of the curses tputs function; the

Callers

nothing calls this directly

Calls 1

__writeMethod · 0.95

Tested by

no test coverage detected