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

# Integrated terminal

export const MuxVideo = ({playbackId, title = "Video demo"}) => <iframe className="w-full aspect-video rounded-xl" src={`https://player.mux.com/${playbackId}?accent-color=%23ff8400`} title={title} allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture" allowFullScreen></iframe>;

<Badge color="green">Available in [Piebald Pro](https://piebald.ai/pricing)</Badge>

You can use Piebald's integrated terminal to run commands directly in the app without leaving to an external terminal.

The terminal pane is stuck to the bottom.  However, in a future version, we plan to allow it to be moved to the side for a split view alongside chats.

The terminal will use the same theme that you've selected for codeblocks, located at **Settings → Appearance → Code Block Themes**.

### Creating new terminals

To create a new terminal, hover the project and click the small new terminal icon:

<img class="shadow-md rounded-xl" width="350" alt="project_new_terminal_button.png" src="https://mintcdn.com/piebald/8Y9BNGsLA7OR-jy1/imgs/project_new_terminal_button.png?fit=max&auto=format&n=8Y9BNGsLA7OR-jy1&q=85&s=7616862fbe82bb3316c1dfa07ab5a33e" data-path="imgs/project_new_terminal_button.png" />

### Confirmation for closing active terminals

If you try to close a terminal that has a process actively running (e.g. `cargo check`, `pnpm install`, etc.), Piebald will warn you and ask you for confirmation before you terminate the process.  You can choose to disable the confirmation dialog, and in the future, we'll add a setting to re-enable it.

<img class="shadow-md rounded-xl" width="500" alt="close_terminal_tab_confirmation.png" src="https://mintcdn.com/piebald/8Y9BNGsLA7OR-jy1/imgs/close_terminal_tab_confirmation.png?fit=max&auto=format&n=8Y9BNGsLA7OR-jy1&q=85&s=9097732e20f198277563fc08579b5912" data-path="imgs/close_terminal_tab_confirmation.png" />
