Almenon / AREPL-vscode

Program python in real-time
MIT License
264 stars 33 forks source link

Handle ansi control codes for colour #437

Open StohanzlMart opened 1 year ago

StohanzlMart commented 1 year ago

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

Almenon commented 1 year ago

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 commented 10 months ago

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