def tick(self, cpu):
        if self.debug or not self.time or (time.time() - self.time >= 1.0 / float(MIN_DISPLAY_HZ)):
            self.time = time.time()
            self.term.redraw()
        self.term.updatekeys()
        if self.term.keys:
            self.processkeys(cpu)
Update the display every .1s or always if debug is on
dataset/ETHPy150Open jtauber/dcpu16py/plugins/terminalplugin.py/TerminalPlugin.tick