Help! Nothing is Working!
You're here because something stopped. Maybe the AI is waiting for you, maybe the text editor trap has sprung, or maybe the terminal is just staring at you blankly.
Don't Panic. You haven't broken anything. You're just in "Interactive Mode."
AI Says: "Focus the Shell"
The Situation: You're using an AI tool (like Cursor, Claude, or Gemini). It runs a command, stops, and tells you to "focus the shell" or "interact with the terminal."
Click inside the terminal window.
Look for a question like [Y/n] or Password:.
Type your answer (e.g., y) and press ENTER.
The AI can type commands, but it cannot type passwords or confirm dangerous actions (like deleting files). It pauses and hands control to you. It's a safety feature, not a bug.
The Screen is Frozen
The Situation: You ran a command. Text stopped moving. You type, but no letters appear. It feels dead.
This is the universal "Kill Switch" (SIGINT). It tells the computer "Stop whatever you are doing immediately."
Trapped in a Text Editor
The Situation: The terminal turned into a text file. You can't click to exit.
:q! + EnterWait, what even is a shell?
Imagine a restaurant.
- The Terminal is the building (the window).
- The Shell is the waiter.
You tell the waiter "I want a burger" (the command). The waiter goes to the kitchen (the OS), gets the burger, and brings it back.
Sometimes, the waiter comes back and asks "Do you want fries with that?" (Interactive Prompt). Nothing else happens until you answer the waiter. That's why you have to "Focus the shell."