# Terminal in the output console

> **TL;DR**
> Run/debug configurations: CMake Application, Native Application, C/C++ File

CLion emulates terminal in the output console to help you work with [text-based user interfaces (TUI)](https://en.wikipedia.org/wiki/Text-based_user_interface), for example, [curses/ncurses](https://invisible-island.net/ncurses/) applications.

![Terminal in console example](https://resources.jetbrains.com/help/img/idea/2026.2/cl_terminal_outputconsole_example.png)

> **Tip:**
> See [JediTerm](https://github.com/JetBrains/jediterm) for implementation details.

Procedure: Enable terminal emulation in output console

1. In the main menu, go to `Run | Edit Configurations`.

2. Select the desired configuration and set the Emulate terminal in the output console checkbox:

![Enabling terminal emulation in output console](https://resources.jetbrains.com/help/img/idea/2026.2/cl_terminalemulation_config.png)

> **Note:**
> This option is available only for the [CMake Application](run-debug-configuration-application.html), [Native Application](run-debug-configuration-makefile-application.html), and [C/C++ File](run-single-file.html#run-singlefile-config-create) configurations.

## Limitations

The availability of this feature depends on the OS, [debugger](configuring-debugger-options.html), and [toolchain](how-to-create-toolchain-in-clion.html) you are using. It also depends on whether there is an input redirection and whether the running process is being run with administrator rights.

The tables below show whether terminal emulation is available in the output console for running, debugging with GDB, and debugging with LLDB in a particular case:

### Linux

|  | Default | Run with privileges | Redirected input |
| --- | --- | --- | --- |
| Running | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) |
| GDB | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) |
| LLDB | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) |

### macOS

|  | Default | Run with privileges | Redirected input |
| --- | --- | --- | --- |
| Run | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) |
| LLDB | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) |

### Windows

|  | Default | Run with privileges | Redirected input |
| --- | --- | --- | --- |
| Run | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) |
| GDB | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) |
| MSVC LLDB | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) |

### Docker, Remote, WSL toolchains

|  | Default | Run with privileges | Redirected input |
| --- | --- | --- | --- |
| Run | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.2/check_retina_bold_2.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) |
| GDB | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) | ![feature is not supported](https://resources.jetbrains.com/help/img/idea/2026.2/cross_retina.png) |

## See also

### How tos

[Toolchains](how-to-create-toolchain-in-clion.html) [Debugger options](configuring-debugger-options.html) [Remote development](remote-development.html)

### Procedures

[Docker toolchain](clion-toolchains-in-docker.html) [Remote with local sources](remote-projects-support.html) [WSL2](how-to-use-wsl-development-environment-in-product.html)

