(self, top, bottom, rows)
Scroll the region between top and bottom one row up (-) or down (+).
Scroll the region between top and bottom one row up (-) or down (+).
Scroll the region between top and bottom one row up ( - ) or down ( + ) .
def scroll(self, top, bottom, rows):
        """Scroll the region between top and bottom one row up (-) or down (+)."""
        if bottom > top:
            self._emit_ti('csr', top-1, bottom-1)
            self._emit_ti('hpa', 0)
            self._emit_ti('vpa', top-1)
            if rows < 0:
                self._emit_ti('dl', -rows)
            elif rows > 0:
                self._emit_ti('il', rows)
            self._emit_ti('csr', 0, self._height-1)
def scroll ( self , top , bottom , rows ) : if bottom > top : self . _emit_ti ( 'csr' , top - 1 , bottom - 1 ) self . _emit_ti ( 'hpa' , 0 ) self . _emit_ti ( 'vpa' , top - 1 ) if rows < 0 : self . _emit_ti ( 'dl' , - rows ) elif rows > 0 : self . _emit_ti ( 'il' , rows ) self . _emit_ti ( 'csr' , 0 , self . _height - 1 )