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

Method __sigwinch

Lib/_pyrepl/unix_console.py:778–780  ·  view source on GitHub ↗
(self, signum, frame)

Source from the content-addressed store, hash-verified

776 self.__write_code(self._cup, y - self.__offset, x)
777
778 def __sigwinch(self, signum, frame):
779 self.height, self.width = self.getheightwidth()
780 self.event_queue.insert(Event("resize", None))
781
782 def __hide_cursor(self):
783 if self.cursor_visible:

Callers

nothing calls this directly

Calls 3

getheightwidthMethod · 0.95
EventClass · 0.70
insertMethod · 0.45

Tested by

no test coverage detected