def _escape(self, char):
        """Handles characters seen when in an escape sequence.
        """
        if char == '[':
            self.state = self.STATE_ARGUMENTS
        else:  # TODO: all other escapes are ignored
            self.dispatch('draw', char)
Handles characters seen when in an escape sequence.
        
system/shstreams.py