(self, scrolling)
| 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] |
| 210 | Editor.scrbuf[:scrolling] = [''] * scrolling |
| 211 | self.goto(0, 0) |
| 212 | self.wr(Editor.TERMCMD[9] * scrolling) |
| 213 | def scroll_down(self, scrolling): |
| 214 | if Editor.TERMCMD[10]: |
| 215 | Editor.scrbuf[:-scrolling] = Editor.scrbuf[scrolling:] |
no test coverage detected