tslog icon indicating copy to clipboard operation
tslog copied to clipboard

Bug: [BUG] Getting Control Characters in browser (FF and Chrome)

Open Industrial opened this issue 2 years ago • 6 comments

Describe the bug Control Characters instead of colors.

To Reproduce

�[37m2023-09-14 18:26:34.456�[39m�[0m�[0m	�[34m�[1mINFO�[22m�[39m�[0m�[0m	�[37m�[39m�[0m�[0m�[1m�[37m�[39m�[22m�[0m�[0m	2023-09-14T14:15:00.000Z endDate

Expected behavior Colors

Screenshots

Additional context Firefox v117.0 Chromium v116.0.5845.179

Node.js Version Browser only.

OS incl. Version NixOS Linux

Industrial avatar Sep 14 '23 18:09 Industrial

Can reproduce on Firefox v112.0 / Ubuntu 23.10

trunkyredstone avatar Nov 15 '23 12:11 trunkyredstone

Still an issue on Firefox v120. Are there any ETA's when this will be tackled and fixed? It really hinders the use of tslog on firefox

zanaBizz avatar Nov 27 '23 09:11 zanaBizz

Found this related issue for firefox. Putting it here for reference - https://bugzilla.mozilla.org/show_bug.cgi?id=1720116. It also links to https://github.com/whatwg/console/issues/197 (Supposedly)

trunkyredstone avatar Nov 27 '23 11:11 trunkyredstone