AREPL-vscode icon indicating copy to clipboard operation
AREPL-vscode copied to clipboard

Handle ansi control codes for colour

Open StohanzlMart opened this issue 3 years ago • 2 comments

Console within VSC on Windows shows those: grey = "\x1b[38;20m" yellow = "\x1b[33;20m" red = "\x1b[31;20m" bold_red = "\x1b[31;1m" reset = "\x1b[0m

This should work without installing the colour-theme for windows.

I could just install the colour-theme for windows, but did not try yet. (https://www.howtogeek.com/322432/how-to-customize-your-command-prompts-color-scheme-with-microsofts-colortool/)

Additional context

log-colours

StohanzlMart avatar Nov 28 '22 21:11 StohanzlMart

The reason why this is not a feature currently is that the panel AREPL displays is HTML, not a console (aka terminal aka command prompt) that displays colored text.

Almenon avatar Nov 29 '22 05:11 Almenon

Another person asked for this at https://github.com/Almenon/AREPL-vscode/discussions/457

Almenon avatar Jan 09 '24 04:01 Almenon