In short.
This keyboard-shortcut reference is for people who already use an agent's text-based terminal interface (TUI) and want to look up its keys. It is a single page on xAI's developer documentation at [https://docs.x.ai/build/keyboard-shortcuts.md]. The main catch is that it is only a reference list. Many keys change meaning while a turn is running, depending on which pane has focus, or depending on the terminal. The page does not name the product, give a version, or provide installation or sign-in instructions. It also does not say the agent is a coding assistant, so that purpose is unconfirmed. The page has tables of base bindings for essentials, input, scrollback and panels. It also has a section on what changes mid-turn (queue versus steer versus send now) and a section on terminal differences for VS Code-family terminals, Apple Terminal and WezTerm. It names configuration settings such as follow_up_behavior and vim_mode in config.toml. Nothing was executed, so every behaviour below is as documented, not observed.
Researched and written by an AI model and checked by a second AI model. How it works
The reviewed scope is the complete page at [https://docs.x.ai/build/keyboard-shortcuts.md], captured as selected-page.txt. Pages it links to were excluded, and their contents are unknown: the todos section of the sessions page [https://docs.x.ai/build/features/sessions#todos], background tasks [https://docs.x.ai/build/features/background-tasks], the dashboard [https://docs.x.ai/build/features/dashboard] and terminal support [https://docs.x.ai/build/cli/terminal-support]. No licence file, copyright notice or release notes were captured. Nothing was executed or tried in a terminal, so every statement about key behaviour is the page's own documentation and is untested.
The overview
What this resource is
This keyboard-shortcut reference is for people who already use an agent's text-based terminal interface (TUI) and want to look up its keys. It is a single documentation page titled Keyboard Shortcuts, in the build section of xAI's documentation site at [https://docs.x.ai/build/keyboard-shortcuts.md]. The text mentions prompts, turns, scrollback, model steps, a model picker, thinking blocks, subagents, background commands, a shell mode, todos, a tasks pane, an Agent Dashboard, skills, saved workflows and a config.toml file. These suggest an agent aimed at developers. However, the page never says what tasks the agent is for, so whether it is a coding assistant is unconfirmed.
The page text never names the product or gives a version number. Where this report says xAI build terminal interface, that is only a description inferred from the address and the page content, not a confirmed product name. The page is a reference document, not software, and it ships no code, scripts or downloadable files.
Overall assessment
For someone already using this terminal agent, the page is a dense, well-organised cheat sheet. It goes further than a plain key list. It explains how the same key behaves while the agent is busy: Enter queues a prompt, Ctrl+Enter cancels the turn and sends, and Esc never cancels a turn. These are the details that cause confusion in agent TUIs.
It is not a tutorial. It does not provide installation or sign-in instructions and does not explain the features the keys control, although it does name configuration settings that change key behaviour. It links to pages about todos and sessions, background tasks, the dashboard and terminal support. Those pages were not reviewed, so what they contain is unknown. The page is most useful to people who already have the tool. Whether it matches the current software was not checked.
Who it is for
The main readers are developers who run this terminal agent day to day and want to work faster or avoid cancelling work by accident. It also helps people who run it in a terminal with its own rules: the integrated terminals of VS Code, Cursor, Windsurf and Zed, Apple Terminal, or WezTerm.
Beginners can follow the tables, but the page uses terms such as TUI, scrollback, turn, subagent, vim mode and the Kitty keyboard protocol without defining them. Someone who has not yet used the agent will get little from it.
What the page documents
The lists below are base bindings. The page says its tables give each key's base action, and that keys behave differently while a turn is running, depending on which pane has focus, and depending on the terminal. Those overrides follow the tables.
Essentials (base): Enter sends the prompt. Tab moves focus between the prompt and scrollback. Esc closes a menu, overlay or search. Esc Esc clears the prompt, or opens rewind when the prompt is empty. Ctrl+C cancels the running turn, but if the prompt is focused and has text, the first press only clears the text. Shift+Tab cycles the mode through Normal, Plan, Auto (when available) and Always-approve. Ctrl+P, or ? outside the prompt, opens the command palette. F2 or Ctrl+, opens settings. Ctrl+Q or Ctrl+D quits when pressed twice.
While a turn is running: Enter queues the prompt by default. You can set follow_up_behavior to steer instead of the default queue, under [ui] in config.toml or as Follow-up behavior in /settings. With steer, the turn picks up the prompt at its next tool or model step. If the turn is waiting on a subagent or a background command and nothing else is queued, Enter acts as send now instead. Send now (Ctrl+Enter or Ctrl+I by default) cancels the turn and sends the prompt.
Slash commands during a turn: a built-in slash command sent with Enter or send now does not cancel the turn. Most run right away, and those the agent runs, such as /compact, are queued. Using send now on /goal, /deep-research, a skill such as /create-workflow, or a saved workflow run as /<name> cancels the turn like any other prompt. Plain Enter on these follows the queue or steer rules above.
If the prompt is empty and a follow-up is queued, Enter or send now cancels the turn and sends the top follow-up. The exception is when that follow-up is /compact, /flush, /dream, /loop or another follow-up that cannot be sent now. Then the turn keeps running and the follow-up waits for it to end. With nothing queued, neither key cancels the turn. During an active /goal, a prompt or follow-up steers the goal instead of cancelling the turn. Esc never cancels a turn; it shows a hint to press Ctrl+C. While a turn is running, Esc Esc neither clears the prompt nor opens rewind.
Input (base): Ctrl+Enter or Ctrl+I sends now while a turn is running. Shift+Enter inserts a newline, or sends in multiline mode (Alt+Enter where Shift+Enter is not supported). Ctrl+M toggles multiline input. Ctrl+S or Alt+S stashes the prompt, or restores the stash on an empty prompt. On an empty prompt, the up arrow focuses the prompt queue if it has entries, or browses prompt history if not. /history searches the history. ! on an empty prompt enters shell mode.
Scrollback (base), after Tab focuses it: j and k or the down and up arrows select entries. Shift+L and Shift+H, or Shift with the right and left arrows, move to the next or previous turn. g and Shift+G jump to the top or bottom. Ctrl+U and Ctrl+D scroll half a page. h and l collapse or expand an entry. e and Shift+E expand or collapse one entry or all entries. Ctrl+E toggles thinking blocks. r toggles raw markdown. y and Shift+Y copy the content, or the command or path. Enter or Ctrl+F opens the fullscreen viewer. / searches in vim mode. x kills the selected background task. Letter keys, with or without Shift, need vim mode (/vim-mode, or vim_mode = true under [ui] in config.toml). Base Ctrl bindings and the arrow-key equivalents do not need vim mode.
Panels and session (base): Ctrl+T toggles the todo pane. Ctrl+B sends the running command to the background. Ctrl+; or Ctrl+' toggles the prompt queue. Ctrl+R opens sessions (same as /resume), except that when the scrollback is focused and [ui] mouse_reporting_toggle is on, it toggles mouse capture instead. Ctrl+L opens extensions. Ctrl+G toggles the tasks pane. Ctrl+O toggles always-approve. Ctrl+N starts a new session when pressed twice. Ctrl+M picks a model when the prompt is not focused. Ctrl+\ opens the Agent Dashboard. Ctrl+. opens the shortcut list inside the TUI (Ctrl+X on Windows and in terminals without the Kitty keyboard protocol), with entries that do not apply dimmed.
Terminal overrides. In VS Code-family terminals (VS Code, Cursor, Windsurf, Zed), quit is Ctrl+D only and send now is Ctrl+L. Ctrl+L does not open extensions there, so use /plugins. Half-page down is Shift+D, in vim mode only, and Alt+Enter gives a newline. On a local Mac, Ctrl+; and Ctrl+' often do not arrive, so Ctrl+4 toggles the prompt queue. Ctrl+\ also arrives as Ctrl+4, so open the Agent Dashboard with /dashboard. In Apple Terminal, send now is Ctrl+O in the prompt and the prompt queue. In other panes Ctrl+O toggles always-approve, and it does the same in the prompt when there is nothing to send now (no turn is running, or the prompt and queue are both empty). In the prompt queue with no turn running it does nothing. WezTerm needs enable_kitty_keyboard = true for Ctrl+Enter and Shift+Enter.
Using it
Requirements
Reading the page needs only a web browser or a tool that can fetch the address. Using what it describes needs the terminal agent it documents. The page does not say how to get the agent, which version these shortcuts apply to, or whether an account is needed. It mentions Windows and Mac but does not list supported operating systems. These points are unknown from this evidence.
Some features depend on the environment. Ctrl+. relies on the Kitty keyboard protocol, and Ctrl+X is used on Windows and in terminals without it. Some behaviour depends on config.toml settings under [ui]: follow_up_behavior, vim_mode and mouse_reporting_toggle. WezTerm needs enable_kitty_keyboard = true for Ctrl+Enter and Shift+Enter. Auto mode is listed only as available in some cases, and the page does not say what makes it available.
How the shortcuts work
The page describes a keymap that depends on context. The same key does different things depending on three factors: whether a turn is running, which pane has focus (prompt, prompt queue or scrollback), and which terminal hosts the TUI. The in-app list dims entries that do not apply in the current context.
Terminals differ because some cannot send distinct codes for certain key combinations. According to the page, Apple Terminal cannot send Ctrl+Enter or Ctrl+I as distinct keys, so Ctrl+O is used for send now. In VS Code-family terminals on a local Mac, Ctrl+; and Ctrl+' often do not arrive and Ctrl+\ arrives as Ctrl+4. So Ctrl+4 toggles the prompt queue, and the dashboard has to be opened with /dashboard. These explanations are the page's own and were not checked independently.
Setup
The page has no installation or sign-in steps. The only setup it mentions is configuration: setting follow_up_behavior to steer (or changing Follow-up behavior in /settings), turning on vim mode with /vim-mode or vim_mode = true under [ui] in config.toml, turning on mouse_reporting_toggle under [ui], and setting enable_kitty_keyboard = true in WezTerm.
It links to a Terminal Support page for fixes and diagnostics at [https://docs.x.ai/build/cli/terminal-support]. That page was outside the selected scope, so its contents are unknown here.
Worked example from the page
Suppose the agent is partway through a long turn and you remember a correction. According to the page, if you type the correction and press Enter, it is queued by default and the turn continues. If you have set follow_up_behavior to steer, the running turn picks up the correction at its next tool or model step. With steer, if the turn is waiting on a subagent or a background command and nothing else is queued, Enter acts as send now instead. To make the agent stop and take the correction at once, use send now (Ctrl+Enter or Ctrl+I), which cancels the turn and sends it. In VS Code-family terminals send now is Ctrl+L. In Apple Terminal it is Ctrl+O in the prompt and the prompt queue.
Some exceptions apply. If the correction is a built-in slash command, neither Enter nor send now cancels the turn. If it is /goal, /deep-research, a skill or a saved workflow, send now cancels the turn, while Enter follows the queue or steer rule. If a /goal is active, the correction steers the goal instead of cancelling the turn.
If you only want to stop the work, Ctrl+C cancels the turn. If the prompt is focused and has text, the first Ctrl+C clears the text and a second press is needed to cancel. Esc does not cancel a running turn; it only shows a hint pointing to Ctrl+C. While the turn is running, Esc Esc neither clears the prompt nor opens rewind. This walk-through restates the documentation. It was not run.
Assessment & evidence
Limitations and risks
Scope: this is one reference page. It does not teach the features behind the keys, such as plan mode, subagents, workflows, skills, /goal or /deep-research. It has no screenshots in the captured text, so you have to rely on the written descriptions.
Possible confusion: Ctrl+M appears twice. The Input table lists it as toggle multiline input, and the Panels table lists it as pick model when the prompt is not focused. Ctrl+O needs more care. It normally toggles always-approve, but in Apple Terminal it is also send now in the prompt and the prompt queue, with a rule for when it toggles instead. Always-approve is one of the modes in the Shift+Tab cycle and also has its own one-key toggle, so a stray press of either could change how freely the agent acts. The page does not say what Always-approve skips, so check that in the product documentation before relying on it.
Accuracy and coverage: the key bindings, config option names and terminal quirks come only from this page. Nothing was run, so whether the real software matches is unknown. The page shows no date or version, so it cannot be tied to a particular release.
Why this assessment
The assessment rests on what the page states directly. The page is specific: it gives exact keys, named config options, named slash commands and exceptions for each terminal. That makes it a real reference rather than a marketing page. Its limits are just as clear from the text: it gives no product name, version, installation steps, pricing or licence, and it does not say what kind of work the agent is for. For these reasons it is described here as a useful companion for existing users, not a standalone guide. Statements about risk, such as the stray Ctrl+O concern, are a reading of the documented behaviour, not documented facts.
Alternatives and complements
The page points to ways to look up and change behaviour without leaving the terminal: its in-app list (Ctrl+. or Ctrl+X), the command palette (Ctrl+P), /settings and /history. The in-app list dims entries that do not apply in the current context, which suits quick lookups. This page is better for seeing everything at once and for the rules specific to each terminal.
The page also links to pages on sessions, background tasks, the dashboard and terminal support for topics it only mentions. Those pages were not reviewed. No evidence about competing products or their documentation was captured, so no comparisons are made here.
Evidence base
The only evidence is the captured text of the selected page, saved as selected-page.txt from [https://docs.x.ai/build/keyboard-shortcuts.md] and captured as the complete selected scope. The shortcut descriptions, config option names, slash commands and terminal rules come from the page text. The capture size (5,788 bytes, about 5.8 KB) and capture date (15 November 2026) come from the capture metadata, not from the page. Judgements about audience, suitability and risk are interpretations of the page text. No code ran, no terminal was tried, and no other pages, release notes or source code were consulted.
Access & freshness
Costs
The page says nothing about pricing, usage limits, subscriptions or which model plan the TUI needs. The cost of using the agent, including model usage, is unknown from this evidence. The page also does not say whether an account is needed to read it, although it was captured from a public address.
Rights and reuse
The captured page has no licence statement, copyright notice or reuse terms. Whether the text may be copied, adapted or redistributed is unknown. No distribution package or file is supplied with this report.
Freshness
The page was captured on 15 November 2026. The text has no publication date, last-updated date or version, so how current it is compared with the software is unknown. Keyboard shortcuts in fast-moving agent tools can change between releases, and the page itself says some options, such as Auto mode, are available only in some cases. Compare the in-app shortcut list (Ctrl+. or Ctrl+X) with this page for the version you run.
Suggested next steps
If you already use this terminal agent, read the Essentials and While a turn is running sections first, because they decide whether a keypress queues, steers or cancels your work. Then check the Terminal differences section for your terminal.
Before relying on a shortcut, confirm it in the in-app list. If you use Apple Terminal, take care with Ctrl+O. Before turning on always-approve, find out from the product documentation what it permits. If you are new to the tool, look elsewhere for installation and getting-started material, because this page does not cover them.
