def _handleControlSequence(self, buf, terminal):
        f = getattr(self.controlSequenceParser, CST.get(terminal, terminal), None)
        if f is None:
            self.terminal.unhandledControlSequence('\x1b[' + buf + terminal)
        else:
            f(self, self.terminal, buf)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/insults/insults.py/ClientProtocol._handleControlSequence/original