Sublime Forum

What is this in results panel?

#1

when i build and run a program, it show this in results panel, what’s this?
and python file as same,
I used the default build system
Console panel show this

Running g++ “/Users/persevere/Desktop/untitled.cpp” -o “/Users/persevere/Desktop/untitled” && “/Users/persevere/Desktop/untitled”

what’s wrong with it?
thx!

0 Likes

#2

These are “ANSI escape codes” or also referred to as “ANSI colors” (wiki).

I don’t know why just running g++ with that code would produce the output you are seeing, but there is a package that can translate these codes to something that ST understands: https://packagecontrol.io/packages/ANSIescape

0 Likes