

def tigetstr(capname):
    _ensure_initialised_setupterm()
    val = lib.tigetstr(capname)
    if (int(ffi.cast('intptr_t', val)) in (0, (- 1))):
        return None
    return ffi.string(val)

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cffi-1.5.2/demo/_curses.py tigetstr/original