Windows terminal compatibility for the ACLI Shell
 Problem
Many terminal apps utilize the Windows-native Console Host (conhost.exe
) executable for implementation. Under Windows 10, conhost.exe
exhibits a bug that limits ACLI Shell functionality.
In this environment, conhost.exe
incorrectly interprets a critical VT100 control sequence as a VT52 sequence, which breaks the ACLI Shell interactive renderer. As a result, terminal apps that rely on conhost.exe
executable under Windows 10 fail to function as designed.
The issue is rectified in the conhost.exe
implementation shipped with Windows 11 as well as when running apps in Windows Terminal and other VT100-compliant terminal emulators (e.g., ConEmu, CMDER, Alacritty, and WezTerm) capable of running on Windows 10.
 Solution
The Windows terminal compatibility table shows how to handle environment variables on Windows 10 and Windows 11 for ACLI 10.6 and earlier and ACLI 11.0
Windows terminal compatibility
Windows Version | Terminal App | ACLI Version | Solution |
---|---|---|---|
Windows 10 | Console Host ( | 10.6.0 and earlier | Do not use! |
Windows 10 | Windows Terminal | 10.6.0 and earlier | No special setup required |
Windows 10 | Any other VT100-compliant terminal (WezTerm, Alacritty, ConEmu, CMDER, etc) | 10.6.0 and earlier | Manually set |
Windows 10 | Windows Terminal, WezTerm, Alacritty, ConEmu, CMDER | 11.0.0 and later | No special setup required |
Windows 10 | Any VT100-compliant terminal not listed above | 11.0.0 and later | Manually set |
Windows 11 | Any terminal | 11.0.0 and later | No special setup required |
Applying the WT_SESSION
workaround when indicated by the above table:
Open the environment variables settings on your system.
Create a new environment variable named
WT_SESSION
and set its value to any non-empty string (e.g.,1
).Save the changes, and restart your terminal application.
Launch the ACLI shell.
Remember that the shell proper functioning depends on the correct implementation of the VT100 specification of the terminal emulator.
Setting the WT_SESSION
environment variable alone may not be sufficient for the shell to function correctly.
If the terminal emulator still uses the broken conhost
exe, users may notice that the terminal renders garbage on the screen as soon as the app provides completions.
To ensure the best experience with the ACLI shell, it is recommended to use a fully VT100-compliant terminal emulator or upgrade to Windows 11 or to use Microsoft’s Windows Terminal.
Other terminal applications
The supported terminal emulators on Windows 10 are:
Windows Terminal
WezTerm
Alacritty
ConEmu
CMDER
If you know of another VT100-compliant terminal on Windows 10, you can test it using the instructions given for ACLI 10.6.0 and earlier.
If the shell works, contact us so that we can add official support for that terminal.
Additional environment variables
Depending on your requirements and specific cases, additional environment variables for Shell configuration are available and described in the Environment Variables Table.
Environment variable | Description |
---|---|
| Value is one of The shell automatically sets the glyph set to |
| Value is one of the themes available in the shell (or a custom theme). NOTE
|
| It allows you to specify where to store the shell cache files. |
| It allows you to specify where to store the shell config files. |
| This variable is useful, if you do not have full unicode support in the terminal:
|
| Set the value to Set the value to |
| It sends the debug to a log rather than a terminal. This environment variable is recommended if you use the debug variable The value for this variable is the path to the log file where the debug and trace information is to be sent: an empty string value uses the default path |