def clear_history(self):
        for line in list(self.data_buffer):
            if line < self.line_offset:
                self.data_buffer.pop(line, None)
Delete all history from the scroll buffer.
dataset/ETHPy150Open jonathanslenders/pymux/pymux/screen.py/BetterScreen.clear_history