Subj : Re: More dumb questions
To : Mortifis
From : echicken
Date : Fri Jul 19 2019 03:04 pm
Re: Re: More dumb questions
By: Mortifis to echicken on Fri Jul 19 2019 14:00:37
Mo> And yet another one, so when I say 'console' I am referring to running via
Mo> jsexec in a terminal and optput is stdout ... how does one change font
Mo> colors and the background color of an input ( readln() ) prompt?
I don't think any of the basic output methods have any provisions for doing magic colour stuff, so you'd
probably have to send escape sequences yourself. It's possible that we have some JS libraries that might
help with that, but I'd have to look (and it's more likely that they rely on stuff that the console
object already does).