def _stream(self, char):
        """Processes a character when in the default ``"stream"`` state."""
        if char in self.basic:
            self.dispatch(self.basic[char])

        elif char not in (ctrl.NUL, ctrl.DEL, ctrl.ESC, ctrl.CSI):
            self.dispatch('draw', char, reset=False)

        elif char == ctrl.ESC:
            self.state = self.STATE_ESCAPE

        elif char == ctrl.CSI:
            self.state = self.STATE_ARGUMENTS
Processes a character when in the default ``"stream"`` state.
system/shstreams.py