What you'll learn
- Move the cursor and fix typos without touching the mouse
- Understand why highlighting doesn't delete, and what to do instead
- Reuse earlier messages with the Up and Down arrows
- Answer pick-one, pick-many and multi-question menus
- Decide safely when Claude asks to run a command
- Get unstuck with a handful of rescue keys
Meet the screen
This is roughly what you see when Claude Code is running inside Windows Terminal. The numbers match the list below.
- 1The window and its tabs. Windows Terminal can hold several tabs, like a web browser. Each tab is its own separate terminal.
- 2The conversation. Your earlier messages start with
>. Claude's replies start with a dot⏺. You can scroll up and down through this with your mouse wheel. Scrolling only changes what you look at. It never moves your cursor. - 3The typing box. This is the only place your typing goes. The blinking block is the cursor: the next letter you type appears exactly there.
- 4The hint line. The small grey text under the box tells you which keys work right now. It changes depending on what is on screen. When a menu or question appears, its hint line is your best friend. Read it whenever you feel lost.
The one big idea: cursor and highlight are two different things
Almost every confusing moment in the terminal comes from this. In Word, Google Docs or an email, the mouse and keyboard work together: you click somewhere and type there; you highlight words and press Delete to remove them. The terminal does not work like that.
The terminal has two separate things on screen, and they ignore each other:
The cursor (keyboard)
The blinking block. Your typing, Backspace and Delete all happen here. You move it with the arrow keys, never with the mouse.
The highlight (mouse)
The blue area you make by dragging the mouse. It exists only for copying. Deleting or typing does nothing to it.
The mouse is for reading and copying. The keyboard is for typing, moving and deleting. In the example on the right, pressing Backspace would delete the m at the end of “form”, because that is where the cursor is. The highlighted word stays untouched.
Moving the cursor and fixing typos
Think of the cursor as the head of an old typewriter. It sits between two letters. In Claude Code it is drawn as a block covering the letter just to its right. Anything you type is inserted right before that block, and the rest of the line shifts over to make room.
Your arrow keys are the four keys shaped like an upside-down T, usually at the bottom right of the keyboard. ← and → move the cursor along your text. These keys do the rest:
| Press | What happens in the typing box |
|---|---|
| ← → | Move the cursor one letter left or right. Hold the key down to keep moving. |
| Ctrl + ← → | Jump a whole word at a time. Hold Ctrl, then tap the arrow. |
| Home / End | Jump to the very start or very end of the line. (On a laptop, these may need the Fn key held down.) |
| Backspace | Delete the letter to the left of the cursor. |
| Delete | Delete the letter under the cursor block (to its right). |
| Ctrl + U | Delete everything before the cursor. With the cursor at the end, that wipes the line. |
| Ctrl + K | Delete everything after the cursor. |
| Ctrl + C | Clear the whole typing box so you can start again. |
| Enter | Send your message to Claude. The cursor does not need to be at the end. |
Some shortcuts depend on how your terminal is set up. Plain ← → and Backspace work everywhere, always. They are slower, but they will never let you down.
Why highlighting doesn't delete, and what to do instead
This is the exact problem you described: you highlight some text, press Delete or Backspace, and the highlight just sits there. Meanwhile a letter disappears somewhere else, or nothing seems to happen at all.
Here is why. The highlight belongs to the Windows Terminal window, the frame around everything. It is a copy tool, like taking a snippet of the screen. The typing box belongs to Claude Code, the program running inside the window. When you press a key, the window passes it to Claude Code, and Claude Code only knows where its cursor is. It has no idea you highlighted anything.
Clicking has the same problem. In most terminals, clicking on a word does not move the cursor there. Your next letter still appears wherever the blinking block is.
todo to highlight it, then press Backspace. Watch what really happens.dark mode into light mode using only the keyboard.The right way to delete a chunk of text
- Press ← (or Ctrl+← to go faster) until the cursor sits just after the last letter you want gone.
- Press Backspace once per letter, or hold it down. Letters vanish from right to left.
- Type the new text. It appears right where the cursor is.
- If the whole message is a mess, press Ctrl+C to clear the box and type it again. Often that is the fastest fix.
What the highlight is good for: copy and paste in Windows Terminal
| To do this | Do this |
|---|---|
| Copy text from the screen | Drag over it with the mouse, then press Ctrl+C (or right-click). The highlight disappears, which means it was copied. |
| Paste text | Press Ctrl+V (or right-click with nothing highlighted). The text lands at the cursor, not where your mouse is pointing. |
| Get rid of a highlight | Press Esc, click once anywhere in the window, or simply start typing. |
When something is highlighted, Ctrl+C copies it and does nothing else. When nothing is highlighted, it goes to Claude Code, which clears your typing box (or, if the box is already empty, starts to quit; see Lesson 10). If you meant to copy, check the highlight is still there before pressing it.
If you paste something long, Claude Code may show it as [Pasted text #1 +25 lines] instead of the full text. That is normal. All of it will be sent.
Up and Down in the typing box: your message history
In the typing box, ↑ and ↓ don't move up through the screen. They bring back messages you already sent, newest first. It is a shortcut for repeating or tweaking something you asked before.
- ↑ shows the previous message. Press again to go further back.
- ↓ goes forward again, back toward the empty box.
- If an old message pops up by accident, press Ctrl+C to clear it, or press ↓ until the box is empty again.
When your message runs over several lines, ↑ and ↓ first move the cursor between those lines. History only kicks in once you are on the top or bottom line.
add a contact form again. Don't retype it: bring it back with ↑, then press Enter.Pick-many menus (checkboxes)
When Claude says you can pick more than one answer, each option gets a little box: [ ] is empty, [✔] is ticked. Now there are two separate steps: ticking the boxes you want, then confirming your whole set.
- Use ↑ ↓ to move the pointer onto an option.
- Press Space (the long bar at the bottom of the keyboard) to tick it. Press Space again to untick it.
- Move to the next option you want and tick it too. Ticks stay put while you move around.
- When everything you want is ticked, move down to Submit and press Enter.
Pressing Enter on an option expecting it to send your answers. In this kind of menu, Enter on an option usually just ticks or unticks it, like Space. The answers only go when you confirm on Submit. The exact keys can differ slightly between versions of Claude Code, so check the hint line under the menu. It always tells you what Space and Enter do right now.
Wizards: several questions in a row
Sometimes Claude asks two, three or four questions at once. They appear as a row of tabs along the top, one per question, plus a final Submit tab where you review everything. This is where ← and → come in.
| Key | What it does in a wizard |
|---|---|
| ↑ ↓ | Move the pointer between answers for the current question. |
| ← → or Tab | Switch to the previous or next question (tab). Your answers are kept, so you can go back and change one. |
| Enter | Choose the answer. For a pick-one question, the wizard jumps to the next question by itself. |
| Space | Tick or untick, on pick-many questions. |
| Esc | Cancel the whole wizard. Nothing is sent. |
The tab row shows your progress: an empty box ☐ means not answered yet, a tick ✔ means answered. The highlighted tab is the question you are on.
Most questions end with a row where you can type your own answer. As soon as you type there, you are typing text again, so ← and → move the cursor inside your text (just like Lesson 03) instead of switching questions. Use Tab to move between questions while you're there, or ↑ to leave the typing row first.
“Do you want to proceed?”
Before Claude runs a command or changes a file, it often stops and asks your permission. It is the same pick-one menu from Lesson 06, so the same keys work. What each option means:
- 1. Yes: do it this one time. Claude will ask again next time.
- 2. Yes, and don't ask again…: do it, and stop asking for this kind of action in this project.
- 3. No, and tell Claude what to do differently: Claude stops and waits. The typing box becomes yours, so you can explain what you want instead. Esc does the same thing.
Saying No is always safe. If you're unsure what a command does, choose No and ask Claude: “What does this command do?”
Rescue keys: when you feel stuck
None of these can damage anything. When something looks odd, work down this list.
| Press | When to use it |
|---|---|
| Esc | Stop Claude while it is working, if it's going the wrong way. Your conversation stays, and you can type new instructions. Esc also closes menus and questions. |
| Esc Esc | Pressed twice with an empty box: opens a list of your earlier messages so you can go back to one and redo it. |
| Ctrl+C | Clears the typing box. With an empty box, pressing it twice quits Claude Code. To come back, type claude and press Enter. Add --continue (claude --continue) to pick up your last conversation. |
| Shift+Tab | Switches Claude's mode (for example “accept edits” or “plan mode”). The current mode is shown at the bottom. If that text changed and you didn't mean it to, press Shift+Tab until it's back. |
| ? | With an empty box, shows a list of keyboard shortcuts. |
| Ctrl+J | Start a new line inside your message without sending it. Typing \ and then Enter also works. Plain Enter sends. |
| Mouse wheel | Scroll back to read earlier output. It doesn't move your cursor. Start typing and your letters still go into the box. |
Don't worry. Just tell Claude in your next message: “Sorry, I picked the wrong option. I meant the green one.” Claude will adjust. Nothing is final.
Cheat sheet
Keep this tab open next to your terminal until it becomes second nature.
Typing box
- ← →
- move one letter
- Ctrl+← →
- jump one word
- Home End
- start / end of line
- Backspace
- delete letter on the left
- Delete
- delete letter under cursor
- Ctrl+C
- clear the whole box
- ↑ ↓
- earlier messages
- Enter
- send
- Ctrl+J
- new line without sending
Menus and questions
- ↑ ↓
- move the ❯ pointer
- Enter
- choose / confirm
- 1 2 3
- choose by number
- Space
- tick / untick a checkbox
- ← → Tab
- previous / next question (wizards)
- Esc
- cancel
- hint line
- always tells you the keys
Mouse in Windows Terminal
- drag
- highlight, for copying only
- Ctrl+C
- copy (only while highlighted)
- Ctrl+V
- paste at the cursor
- right-click
- copy highlight, or paste
- wheel
- scroll to read
- click
- does not move the cursor
Rescue
- Esc
- stop Claude / close a menu
- Esc Esc
- go back to an earlier message
- Ctrl+C ×2
- quit (empty box)
claude- start again
claude --continue- resume last chat
- Shift+Tab
- change mode
- ?
- show shortcuts
“Why did that happen?”
I clicked where I wanted to type, but my letters appeared at the end.
Clicking doesn't move the cursor in most terminals. Use ← to walk the cursor to the spot first (Lesson 03).
I highlighted text and pressed Delete. Nothing happened, or the wrong letter vanished.
The highlight is only for copying. Delete and Backspace act at the blinking cursor. Move the cursor with the arrow keys, then delete (Lesson 04).
I pressed Up and an old message appeared in my box.
That's message history. Press ↓ until the box is empty, or Ctrl+C to clear it (Lesson 05).
In a checkbox menu, I pressed Enter and it didn't send my answers.
In pick-many menus, Enter on an option usually ticks it. Move down to Submit and press Enter there. Check the hint line under the menu (Lesson 07).
Left and Right do nothing in a menu.
That's expected in a simple menu. Left and Right only switch questions in a wizard with tabs. Inside a “Type something” row they move the text cursor instead (Lesson 08).
I pressed Ctrl+C to copy and my message disappeared.
Nothing was highlighted at that moment, so Ctrl+C went to Claude Code and cleared the box. Highlight first, then press Ctrl+C while the highlight is still visible. To get the message back, press ↑ only if you had already sent it; otherwise retype it.
Claude Code closed and I'm back at a PS C:\…> line.
Ctrl+C was probably pressed twice on an empty box. Type claude --continue and press Enter to pick up where you left off.
The bottom of the screen says “plan mode” or “accept edits” and I didn't choose that.
Shift+Tab was pressed. Press Shift+Tab again until it shows the mode you want.