MCPcopy Create free account
hub / github.com/RetiredWizard/PyDOS / scroll_region

Method scroll_region

pye.py:205–206  ·  view source on GitHub ↗
(self, stop)

Source from the content-addressed store, hash-verified

203 def mouse_reporting(self, onoff):
204 self.wr(Editor.TERMCMD[7] if onoff else Editor.TERMCMD[8])
205 def scroll_region(self, stop):
206 self.wr(Editor.TERMCMD[11].format(stop=stop) if stop else Editor.TERMCMD[12])
207 def scroll_up(self, scrolling):
208 if Editor.TERMCMD[9]:
209 Editor.scrbuf[scrolling:] = Editor.scrbuf[:-scrolling]

Callers 2

redrawMethod · 0.95
edit_loopMethod · 0.95

Calls 1

wrMethod · 0.45

Tested by

no test coverage detected