Closed MassMessage closed 1 year ago
There you're creating a powershell instance and writing that text to it. You would want to do something like ptyProcess.write('
Write-Host "e[31mTextinge[0m\n"');
to write it in powershell.
I suspect what you're actually after is to create xterm.js and write the sequence to that.
Environment details
Issue description
i'm trying to use ANSI escapes like
"\x1B[31mTexting\x1b[0m\t\t"
to print a green text in the powershell terminal but it isn't working; it just print the text in the default color. What am I missing? i'm doing something like this: