def _update(self, frame_no):
        if self._scr_pos == 0 and self._text_pos < self._renderer.max_width:
            self._text_pos += 1

        if self._scr_pos > 0:
            self._scr_pos -= 1

        image, colours = self._renderer.rendered_text
        for (i, line) in enumerate(image):
            line += " "
            colours[i].append((None, None))
            end_pos = min(
                len(line),
                self._text_pos + self._scr_pos - 1 - self._screen.width)
            self._screen.paint(line[self._text_pos:end_pos],
                               self._scr_pos,
                               self._y + i,
                               self._colour,
                               colour_map=colours[i][self._text_pos:end_pos])
dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/effects.py/BannerText._update/swapped operands of `-`