def get_new_output(self, lines, update_top, stats):

        if not (stats['cursor_y'] + 1 > self.l or (stats['cursor_y'] + 1 == self.l and stats['cursor_x'] + 1 > self.c)):
            return ""






        try:
            num_to_return = stats['cursor_y'] - self.l + 2

            lines = lines[self.l - update_top - 1:]


            new_output = []

            # first line
            new_output.append(lines[0][self.c - 1:].rstrip())

            # the rest
            for i in range(1, num_to_return):
                new_output.append(lines[i].rstrip())

        except:

            pass



        return "\n".join(new_output)
Calculate the "new" output from this read. Fake but useful
dataset/ETHPy150Open wkentaro/conque.vim/autoload/conque_term/conque_sole.py/ConqueSole.get_new_output