# AnsiEscapeDecoder does not support most control commands

**URL:** <https://platform.jetbrains.com/t/ansiescapedecoder-does-not-support-most-control-commands/1119>\
**Category:** IntelliJ Platform\
**Created:** [March 27, 2025, 9:19am UTC](https://platform.jetbrains.com/t/ansiescapedecoder-does-not-support-most-control-commands/1119 "2025-03-27T09:19:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidxie0511](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/davidxie0511/32/984_2.png) [@davidxie0511](https://platform.jetbrains.com/u/davidxie0511)\
**Post date:** [March 27, 2025, 9:19am UTC](https://platform.jetbrains.com/t/ansiescapedecoder-does-not-support-most-control-commands/1119/1 "2025-03-27T09:19:37Z")

</div>

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.

 ![Clipboard_Screenshot_1743066835](https://us1.discourse-cdn.com/flex001/uploads/jetbrains_platform/original/1X/eeabc6c42eead0357b89cd46f46e3cddff1f5f90.png)  
IDE target version: CLion 2024.3
