Learn It Yourself
All courses · Dashboard › Terminal Training Ground
Claude CodeGetting startedWindows 11 Terminal

Terminal Training Ground

The terminal is driven almost entirely by the keyboard. Once you know which key does what, it stops feeling strange. Every black box in this course is a pretend terminal: click it, then use your real keyboard. Nothing you do here can break anything, so practise as often as you like.

Beginner 12 lessons 7 practice terminals 11 practice goals

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
How each lesson works
1. ReadEach lesson starts with a short, plain explanation.
2. WatchPress Watch the demo. The page presses the keys for you, slowly, and explains each one.
3. TryClick the black box. When its border turns green, your keyboard is connected. Finish the goal to get a tick.
Lesson 01Reading

Meet the screen

This is roughly what you see when Claude Code is running inside Windows Terminal. The numbers match the list below.

  1. 1The window and its tabs. Windows Terminal can hold several tabs, like a web browser. Each tab is its own separate terminal.
  2. 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.
  3. 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.
  4. 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.
Lesson 02Reading

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)

> add a contact form

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)

> add a contact form

The blue area you make by dragging the mouse. It exists only for copying. Deleting or typing does nothing to it.

Remember it like this

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.

Lesson 03Hands-on practice

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:

PressWhat 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 / EndJump to the very start or very end of the line. (On a laptop, these may need the Fn key held down.)
BackspaceDelete the letter to the left of the cursor.
DeleteDelete the letter under the cursor block (to its right).
Ctrl + UDelete everything before the cursor. With the cursor at the end, that wipes the line.
Ctrl + KDelete everything after the cursor.
Ctrl + CClear the whole typing box so you can start again.
EnterSend your message to Claude. The cursor does not need to be at the end.
If a shortcut doesn't work for you

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.

Goal 1 of 5 not done yet
Windows PowerShellClick inside to practise
click here, then use your keyboard
←→CtrlHomeEndBackspaceDeleteCtrl+UCtrl+KCtrl+CYou pressed: nothing yet
Lesson 04Hands-on practice

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.

Goal not done yet
Part 1, explore: drag your mouse across the word todo to highlight it, then press Backspace. Watch what really happens.
Part 2, the right way: change dark mode into light mode using only the keyboard.
Windows PowerShellClick inside to practise
click here, then use your keyboard
←→CtrlBackspaceDeleteEndYou pressed: nothing yet

The right way to delete a chunk of text

  1. Press ← (or Ctrl+← to go faster) until the cursor sits just after the last letter you want gone.
  2. Press Backspace once per letter, or hold it down. Letters vanish from right to left.
  3. Type the new text. It appears right where the cursor is.
  4. 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 thisDo this
Copy text from the screenDrag over it with the mouse, then press Ctrl+C (or right-click). The highlight disappears, which means it was copied.
Paste textPress Ctrl+V (or right-click with nothing highlighted). The text lands at the cursor, not where your mouse is pointing.
Get rid of a highlightPress Esc, click once anywhere in the window, or simply start typing.
Ctrl+C has two jobs in Windows Terminal

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.

Pasting a lot of text

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.

Lesson 05Hands-on practice

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.

Goal not done yet
You want to send add a contact form again. Don't retype it: bring it back with ↑, then press Enter.
Windows PowerShellClick inside to practise
click here, then use your keyboard
↑↓EnterCtrl+CYou pressed: nothing yet
Lesson 07Hands-on practice

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.

  1. Use ↑ ↓ to move the pointer onto an option.
  2. Press Space (the long bar at the bottom of the keyboard) to tick it. Press Space again to untick it.
  3. Move to the next option you want and tick it too. Ticks stay put while you move around.
  4. When everything you want is ticked, move down to Submit and press Enter.
The most common mix-up

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.

Goal not done yet
Tick exactly Contact form and Photo gallery, leave the rest empty, then submit.
Windows PowerShellClick inside to practise
click here, then use your keyboard
↑↓SpaceEnterEscYou pressed: nothing yet
Lesson 08Hands-on practice

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.

KeyWhat it does in a wizard
↑ ↓Move the pointer between answers for the current question.
← → or TabSwitch to the previous or next question (tab). Your answers are kept, so you can go back and change one.
EnterChoose the answer. For a pick-one question, the wizard jumps to the next question by itself.
SpaceTick or untick, on pick-many questions.
EscCancel 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.

The “Type something” row changes the rules

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.

Goal not done yet
Answer all three questions, then submit on the last tab. Try going back with ← to change one answer before you submit. For extra practice, use “Type something” on one question.
Windows PowerShellClick inside to practise
click here, then use your keyboard
↑↓←→TabSpaceEnterEscYou pressed: nothing yet
Lesson 09Hands-on practice

“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?”

Goal not done yet
Pretend you're not sure about this command. Say No so you can ask about it first.
Windows PowerShellClick inside to practise
click here, then use your keyboard
↑↓EnterEsc123You pressed: nothing yet
Lesson 10Reading

Rescue keys: when you feel stuck

None of these can damage anything. When something looks odd, work down this list.

PressWhen to use it
EscStop 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 EscPressed twice with an empty box: opens a list of your earlier messages so you can go back to one and redo it.
Ctrl+CClears 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+TabSwitches 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+JStart a new line inside your message without sending it. Typing \ and then Enter also works. Plain Enter sends.
Mouse wheelScroll back to read earlier output. It doesn't move your cursor. Start typing and your letters still go into the box.
Picked the wrong answer in a menu?

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.

Lesson 11Reference

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
Lesson 12Troubleshooting

“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.