> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lynxhub.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Terminal Settings

> Configure the built-in terminal emulator, Windows integration, text rendering, cursor styles, and exit behaviors.

Customize the behavior and appearance of LynxHub’s integrated terminal emulator.

## Windows integration

Manage how terminal processes are executed on Windows:

* **Use Conpty (Windows):** Specifies whether the terminal should use Windows’ native ConPTY system.
  * **Auto:** Automatically determines the best configuration. This is the default.
  * **Yes:** Explicitly forces the use of ConPTY.
  * **No:** Disables ConPTY. Disabling this can help resolve terminal spawning issues on older Windows builds or in virtual environments.

## Text and buffer

Configure text size, font formatting, and buffer sizes:

* **Font Size:** Sets the terminal font size in pixels. The default is `14`.
* **Scrollback:** Sets the maximum number of lines kept in the terminal scroll history. The default is `1000`. Increase this if you run commands with extensive logs.
* **Enable Ligatures:** Toggle font ligatures. When enabled, character sequences like `=>`, `!=`, or `===` are rendered as unified symbols.
* **Output Color:** Enables or disables colored terminal logs. Disabling this will render all text in plain monochrome.

## Cursor styling

Adjust the cursor's appearance to fit your preference:

* **Blink Cursor:** Toggles whether the terminal cursor flashes.
* **Cursor Style:** Selects the shape of the cursor when active:
  * **Bar** (Default)
  * **Block**
  * **Underline**
* **Cursor Inactive Style:** Selects the shape of the cursor when the terminal pane loses focus:
  * **Bar**
  * **Block**
  * **Underline**
  * **Outline**
  * **None** (Hides the cursor entirely when inactive)

## Terminal shortcuts and quick commands

You can configure up to 6 custom quick commands:

1. Under the **Terminal** settings, locate the **Terminal Quick Commands** slots.
2. Fill in a **Label** (what displays on the button) and the **Command** text (e.g. `npm run dev` or `git status`).
3. These commands appear as shortcut buttons in active terminal tabs.
4. You can trigger them using hotkeys (assignable in the **Hotkeys** settings).

## Tab and exit behavior

Configure how tabs respond when shell processes finish:

* **Close Tab on Exit:** Automatically closes the terminal tab when the shell process finishes (e.g. typing `exit`).
* **Send "Y" with Exit:** Automatically sends `y` followed by `Enter` when terminating a process. This bypasses prompts like `Terminate batch job (Y/N)?` when stopping terminal tasks.

## Link handling

Configure link interaction in terminal outputs:

* **Open Links in New Tab:** Automatically opens clicked URLs inside a new LynxHub browser tab.
* **Middle Click:** You can middle-click any URL in the terminal to force it to open in a new tab, regardless of this setting.
* **Resize Delay:** Sets the delay (in milliseconds) before the terminal viewport adapts to window resizing. The default is `77ms`. Tweak this if you notice visual lag or rendering artifacts when resizing the window.

## Reset terminal settings

To revert all terminal configuration settings, cursor styles, and quick commands back to their defaults:

1. Under the **Terminal** settings, scroll to the bottom of the page.
2. Click **Reset All Terminal Settings**.
