AnsiEscapeDecoder does not support most control commands

com.intellij.execution.process.AnsiEscapeDecoder#escapeText does not handle ANSI commands other than SGR currently. For example, I execute “bazel build …” command on a remote machine to build a Bazel project using com.intellij.remote.ColoredRemoteProcessHandler and bind the command line output to a console window. The output becomes excessively redundant because ESC[1A (moves the cursor up by 1 line) and ESC[K (clears content from cursor position to end of line) are not properly parsed. I hope this can be improved.


IDE target version: CLion 2024.3