# The settings panel
`/settings` (or `/config`, Claude Code's name) opens the settings panel in the terminal interface.
It opens at any time: while a reply streams or a tool runs, over the model picker, a prompt or the
search box, with half a message in the editor. Nothing behind it stops or changes. The reply keeps
arriving, and on close the editor, the picker and the scroll position are as you left them.
`/settings` typed during a reply opens at once; it is not queued.
Settings are grouped: Model, Display, Mouse, Behaviour, Context, Files, Phones and Sign-in. Under
the list, the selected setting's description, its choices (a tick on the current one), its default
and when a change applies: now, when the reply ends, from the next request, in the next new
conversation, or the next time the command that reads it runs. A request already running read its
settings when it started and is never changed mid-flight. A value still at its default is dim; one
you changed is in normal text.
| Key | In the list | In a field |
|---|---|---|
| Up, Down | move (wrapping) | |
| PageUp, PageDown, Home, End | a page; the first and last | Home, End move the cursor |
| Right, Space, Enter | the next value; Enter opens a field, or a picker | Enter saves |
| Left | the previous value | the cursor left |
| Ctrl+R | back to the default | puts the default in the field |
| Letters, digits, Backspace | filter by name, then description | edit the value |
| Esc, Ctrl+C | clear the filter, else close | leave the field, value unchanged |
Space changes a value only while the filter is empty. Esc and Ctrl+C close the panel and never stop
a reply; the next Esc does what it always does.
Where fullscreen has [the mouse](tui.md#the-mouse), the wheel over the panel moves the selection and a click
selects a setting. A click outside the panel does nothing, and a text selection behind it stays.
Numbers and text are typed into a field under the description. A number field takes digits only and
saves only inside its range; text is checked by pic before it is kept (a model as provider/id, a
tool list, an address), and a value pic refuses stays in the field with the reason in red. Default
model, Scoped models and Theme open their pickers; when the picker closes the panel comes back on
the same row.
Each change is saved at once, in `~/.pic/pic.sqlite`, and the panel shows what was saved, read back.
A change made elsewhere while the panel is open (`pic settings`, a phone, another pic) shows within
a second, and display settings apply at once. A value that was stored before pic checked values, and
that it does not take, shows as "not valid, using the default".
`pic settings` lists every key, these and the rest; [the settings
reference](../reference/settings.md) has each one.
## Where it shows
In fullscreen the panel is a box over the transcript, centred, at most 72 columns wide and as tall
as the window allows; the reply keeps arriving around and behind it, and the editor below stays as
it is. It needs 64 columns and 14 rows of transcript. In a smaller window, and always in regular
mode (where the lines above belong to the terminal's history), it takes the rows above the footer
instead: a title, the filter, up to ten settings, the description and its keys. Under 40 columns or
8 rows it is one line: the setting and its value, Up and Down to step, Left and Right to change.
## A key for it
The action `app.settings.open` opens and closes the panel; bind it in
[keybindings.json](../reference/keys.md). Cmd+, does not reach a program in a terminal, and
Terminal.app sends no Cmd key to programs at all. In Ghostty, a line in its config makes Cmd+, send
the key pic opens the panel with:
keybind = cmd+comma=text:\x1bOQ