---
title: Mouse
parent: Features
nav_order: 7
description: Use the mouse to focus panes, scroll, select output lines, and apply suggestions.
---

# Mouse

Every pane in jiq responds to the mouse. You can use the keyboard and mouse together freely — switching between them at any point.

## Focus a pane

Click anywhere inside a pane to give it focus. When the input field gains focus this way, it switches to INSERT mode.

## Scroll any pane

Roll the mouse wheel over any pane to scroll it — the results pane, a popup, the help panel. You don't need to click first; the pane under the cursor scrolls regardless of which pane has focus.

## Select lines in the results

To select a range of output lines with the mouse:

1. Press **v** to enter visual selection mode.
2. Click and drag across the lines you want.
3. Press **y** to copy them to your clipboard.

## Apply a suggestion or history entry

- **AI popup** — click a suggestion to apply it immediately.
- **History popup** — click an entry to apply it and close the popup.
- **Snippet list** — click a row to highlight it; press **Enter** to apply.
- **Autocomplete dropdown** — double-click to accept. (Single click only highlights.)

## Delete a history entry with the mouse

Hover over any row in the history popup. A `✕` button appears on the right edge. Click it to delete that entry.

## Navigate the help popup

Click any tab at the top of the help popup to switch to it. Click outside the popup to close it.

## Position the cursor in the input

When the input field is already focused, clicking inside it moves the text cursor to the character at that position.
