+ 19

[Code Playground] Feature proposition: Text Colors for non-web codes

Guys, I would like to suggest to Sololearn a small, but attractive feature for the Code Playground for non-web languages -- to enable a multicolor text output. I know that in Python it would require only installing one additional module, like colorama which is very light, to the virtual CP machine, so it doesn't seem to much of a fuss. But in order for other playgrounds to offer the same -- how is that done for other languages? I'd like to know that before filing an official inquiry about it :)

6th Dec 2017, 10:10 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
8 odpowiedzi
+ 29
That would be great! I support the idea.
6th Dec 2017, 11:34 PM
Igor Makarsky
Igor Makarsky - avatar
+ 7
@kurwius I see... So it is just an ouput file which is sent back to the app, right? And so can't contain additional informationapart from the text output itself?
7th Dec 2017, 7:43 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 5
See, it was a good idea to share this with the community. Thanks for the answer @kurwius!
7th Dec 2017, 10:52 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 2
Those batch processing scripts have been the target area in a few of the bugs I've sent in, including the ..\Playground\ 'bug' (all langs but 'web'). In this little code (text weather), I thought I could use a regex to strip much of the ANSI escapes but was a little like 'why am I doing this' when setting out to strip the rest. https://code.sololearn.com/cLf8A8E2Wv6H/?ref=app Knowing Android terminals are fine, I kinda just wanted to have it work. It still perplexes me that I can't copy output to clipboard (one reason I wrote a pastebin exporter).
7th Dec 2017, 3:40 PM
Kirk Schafer
Kirk Schafer - avatar
0
that would be very helpful in understanding other codes
6th Dec 2017, 11:07 PM
Morpheus
Morpheus - avatar