code: def _stream(self, char):
          
  
          num = ord(char)
          if num in self.basic:
              self.dispatch(self.basic[num])
          elif num == ctrl.ESC:
              self.state = "escape"
          elif num == 0x00:
              # nulls are just ignored.
              pass
          else: 
              self.dispatch("print", char)
docs: Process a character when in the
          default 'stream' state.