TUI Troubleshooting: Freezes, Hangs, Blank Screens, and Terminal State Corruption Use this skill when the user reports that a TUI "froze", "hung", "blanked the terminal", "stopped accepting input", "left the terminal broken", or "works in one terminal but not another". Treat these reports as terminal lifecycle failures until proven otherwise. First response rule Do not give a shallow checklist. Establish the failure class, inspect startup and cleanup order, and look for a concrete lifecycle bug: 1. Does the app enter raw mode, alternate screen, mouse, focus, or bracketed paste? 2. Is every mo…