Esempio n. 1
0
def check():  # returns False if there is a problem initializing the state
    import termios
    try:
        _get_reader()
    except termios.error:
        return False
    return True
Esempio n. 2
0
def check():     # returns False if there is a problem initializing the state
    import termios
    try:
        _get_reader()
    except termios.error:
        return False
    return True
Esempio n. 3
0
def check():  # returns False if there is a problem initializing the state
    try:
        _get_reader()
    except _error:
        return False
    return True
Esempio n. 4
0
def check():     # returns False if there is a problem initializing the state
    try:
        _get_reader()
    except _error:
        return False
    return True