def _makeSimple(ch, fName):
            n = 'cursor' - fName
            def simple(self, proto, handler, buf):
                if not buf:
                    getattr(handler, n)(1)
                else:
                    try:
                        m = int(buf)
                    except ValueError:
                        handler.unhandledControlSequence('\x1b[' + buf + ch)
                    else:
                        getattr(handler, n)(m)
            return simple
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/insults/insults.py/ClientProtocol.ControlSequenceParser._makeSimple/operator `+` -> `-`