When developing an IntelliJ IDEA plugin, I need to create a custom run configuration to connect to a remote machine, execute a script, and bind the remote command-line output to the local Console View. During execution, the command-line output contains ANSI control sequences (e.g., ESC[1A
to move the cursor up by 1 line and ESC[K
to clear content from the cursor position to the end of the line). However, the Console View only supports ANSI control sequences for colors and does not handle other sequences, which causes the output to differ from the expected result. Is there a way to make the custom run configuration support “Emulate Terminal” to enable full support for ANSI control sequences?