Example: TE_unlock_keyboard

The following example checks the terminal for an application error message. If it finds one it will unlock the keyboard.

    int rc; 
    rc = TE_find_text ("application error", 0, 0, -1, -1, NULL, NULL, NULL); 
    if (rc == 0) 
        TE_unlock_keyboard();