Files
2026-10-30 11:27:44 +01:00

117 lines
6.6 KiB
Markdown

# Claude Code
The Claude Code pane is the top half of the right-hand column. It is a live terminal that runs the Claude agent in your project folder.
[Guide index](index.md) · Related: [Command line](command-line.md), [Pass on to Agent](pass-on-to-agent.md), [Clean copy](clean-copy.md), [Layout](layout.md), [Right-click menu](right-click-menu.md)
## At a glance
```text
+--------------------------------------------+
| (1) |
| Claude Code v2 |
| ...agent output... |
| |
| > explain src/app.php:12-14 (2) |
| ``` |
| function handle() { ... } |
| ```_ |
| |
+===== (3) drag to resize ===================+
| (4) Command line |
+--------------------------------------------+
```
1. **Agent terminal**: the whole pane is the terminal. There is no header bar above it.
2. **Composer**: Claude's input line. Passed references land here and wait for you.
3. **Splitter**: the bar between the two panes. Drag it to change their heights.
4. **Command line**: the shell pane below. See [Command line](command-line.md).
## Features
### Auto-launch
- When a project opens, Helder starts your login shell in the project folder and runs the agent command in it.
- The default command is `claude`. Set another with `ai.command`.
- The shell loads your profile and rc files first, so tools such as Homebrew and nvm are on the path.
- No prompt line and no echo of the command appear. You see the agent straight away.
- Turn `ai.autoLaunch` off and the pane opens a plain shell instead. You can then start the agent yourself.
- If the command is missing or fails, you see the error as normal terminal output in the pane.
- The pane takes the keyboard when it starts, so you can type to Claude at once.
### Passed references arrive unsubmitted
- [Pass on to Agent](pass-on-to-agent.md) sends text into Claude's composer.
- The text arrives as a paste. It is never submitted. You press `Enter` when you are ready.
- Each new pass starts on a fresh line when the composer already holds text. So you can stack several references, then send them as one message.
- After a pass, the keyboard moves to the Claude pane and a short [notification](notifications.md) confirms it ("Passed to agent").
- Nothing is sent when the agent process is not running.
### Text from Claude to copy
- Claude can hand you text to copy by writing it to `.clean-copy` in the project root. Helder then opens a card with that text and a **Copy** button. See [Clean copy](clean-copy.md).
- Both terminals run with `TERM_PROGRAM=Helder`, so Claude can tell it runs inside Helder.
### Restart after the process exits
- When the agent exits (for example after `/exit`), the pane shows a grey line: `[process exited] · press any key to restart`.
- Press any key in the pane. Helder starts the agent again with the current settings.
- Closing the window ends the agent. Opening another project in the window starts a fresh agent there.
- Hiding the Claude column with its [title bar](title-bar.md) toggle does not stop the agent. It keeps running and keeps its output.
### Copy and paste
- Select text with the mouse. The selection is copied to the clipboard straight away. No `Cmd+C` is needed.
- Right-click the pane for a small menu: **Copy** (only with a selection) and **Paste**. See [Right-click menu](right-click-menu.md).
- Paste through the menu behaves like a normal clipboard paste. Claude treats it as pasted text and does not submit it.
### Focus
- Click anywhere in the pane to type in it. The first click works even when the window is not active.
- While the pane has the keyboard, keys such as arrows, `Enter`, `Cmd+A`, `Cmd+C`, `Cmd+Left` and `Cmd+Right` go to the terminal, not to Helder.
- `Option+Left` and `Option+Right` jump one word back or forward in the composer.
- The pointer is an I-beam over the text and an arrow over the scroll bar.
### Zoom
- View > Zoom In (`Cmd++`), Zoom Out (`Cmd+-`) and Actual Size (`Cmd+0`) change the text size in both terminals and in the code.
- Each step is half a zoom level. The zoom is remembered across launches.
### Colours and font
- The pane uses Helder's dark terminal theme: a slate background, light text and an amber cursor and selection.
- The default font is IBM Plex Mono. The cursor is a blinking bar.
- Bold text keeps its own colour. It does not switch to the bright variant unless you turn on `terminal.boldIsBright`.
- Both terminals share these settings. Changes apply to the running terminal; the agent keeps running.
## Keyboard
| Keys | Action |
|---|---|
| `Enter` | Send the composer to Claude |
| Any key, after exit | Restart the agent |
| `Option+Left` / `Option+Right` | Jump one word back / forward |
| `Cmd++` / `Cmd+-` / `Cmd+0` | Zoom terminal and code text in / out / reset |
| Mouse select | Copy the selection |
## Settings
All settings live in `.helder/config.json`. See [Configuration](configuration.md).
| Setting | Default | Effect |
|---|---|---|
| `ai.autoLaunch` | `true` | Run the agent command when the pane starts. Off gives a plain shell. |
| `ai.command` | `claude` | The command the pane runs. |
| `terminal.shell` | your `$SHELL` | The shell that runs the command. |
| `terminal.fontFamily` | IBM Plex Mono | Terminal font. |
| `terminal.fontSize` | built-in size | Terminal text size, before zoom. |
| `terminal.cursorStyle` | `bar` | `bar`, `block` or `underline`. |
| `terminal.cursorBlink` | `true` | Blinking cursor. |
| `terminal.boldIsBright` | `false` | Show bold text in the bright colour. |
| `terminal.scrollback` | `8000` | Lines kept for scrolling back. |
| `terminal.optionIsMeta` | `false` | Option acts as Meta (for a CLI's `Option+Enter`), but then Option no longer types accents. |
| `terminal.theme` | Helder dark | Background, foreground, cursor, selection and the 16 ANSI colours, as CSS colour strings. |
`terminal.lineHeight` and `terminal.letterSpacing` exist in the file but have no effect in the terminals.
## Related
- [Command line](command-line.md): the shell pane below, with the same look and copy behaviour.
- [Pass on to Agent](pass-on-to-agent.md): send code references into Claude's composer.
- [Clean copy](clean-copy.md): copy text that Claude writes to `.clean-copy`.
- [Right-click menu](right-click-menu.md): Copy and Paste in the terminal.
- [Layout](layout.md): the splitter, the Claude toggle and column widths.
- [Configuration](configuration.md): where `ai` and `terminal` settings live.