---
title: Keyboard & Mouse
description: "Keyboard shortcuts and mouse support in the TheGitAI terminal UI: queue a message, cancel a turn, select text, and open links."
---

# Keyboard & Mouse

The terminal UI (TUI) supports a handful of keyboard and mouse interactions to
make working in the transcript feel natural.

## Keyboard

| Shortcut | Action |
|----------|--------|
| **Enter** | Send a prompt, or queue one follow-up while the agent is busy. |
| **Shift+Tab** | Cycle between Default, Auto-Accept, and Plan mode for the current session. |
| **↑** | Recall prompt history, or recall the queued follow-up for editing while busy. |
| **Esc** | Clear the composer; while busy, cancel the queued message first or cancel the active turn when no message is queued. |
| **Ctrl+V** | Paste an image on macOS and Linux. |
| **Alt+V** | Paste an image on Windows. |

The terminal footer shows the correct image shortcut for the current platform.
Each message supports up to two PNG, JPEG, GIF, or WebP images.

When an approval prompt asks about a shell command or file edit:

- **y** — approve once
- **a** — approve for the rest of the session
- **n** — deny

## Mouse

| Interaction | Action |
|-------------|--------|
| **Drag-select** | Select transcript or footer text; it copies on mouse release. |
| **Left-click** a link | Open a rendered `http://` / `https://` link. |
| **Right-click** a link | Copy the rendered link. |
| **Right-click** the composer/footer | Paste clipboard text when no selection is active. |
| **Double-click** | Select (copy) a word. |
| **Triple-click** | Select (copy) a row. |

::tip
Drag to highlight any part of the transcript and it's copied to your clipboard
the moment you release — no extra keypress needed.
::

A highlight belongs to the text under it, not to the rows of your screen. Scroll
away and it travels with its own lines, out of view and back again; press **Esc**
to drop it. Changing the terminal's width rewraps the transcript and clears it.
