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

Method prepare

Lib/_pyrepl/windows_console.py:314–321  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

312 self.__write(ERASE_IN_LINE)
313
314 def prepare(self) -> None:
315 trace("prepare")
316 self.screen = []
317 self.height, self.width = self.getheightwidth()
318
319 self.posxy = 0, 0
320 self.__gone_tall = 0
321 self.__offset = 0
322
323 def restore(self) -> None:
324 pass

Callers

nothing calls this directly

Calls 2

getheightwidthMethod · 0.95
traceFunction · 0.90

Tested by

no test coverage detected