def h(self, proto, handler, buf):
            # XXX - Handle '?' to introduce ANSI-Compatible private modes.
            try:
                modes = map(int, buf.split(';'))
            except ValueError:
                handler.unhandledControlSequence('\x1b[' + buf + 'h')
            else:
                handler.setModes(modes)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/insults/insults.py/ClientProtocol.ControlSequenceParser.h/original