cant find the code that handles the terminal window
it is in EspruinoTools submodule https://github.com/espruino/EspruinoTools/blob/master/core/terminal.js
Don't see anything about color and also any html printed by js code is escaped. Special case are inline images produced by g.dump() - handled here https://github.com/espruino/EspruinoTools/blob/master/core/terminal.js#L438
g.dump()
escape codes handled here https://github.com/espruino/EspruinoTools/blob/master/core/terminal.js#L521
Thanks @fanoush , that's a great start.
@SimonGAndrews started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
it is in EspruinoTools submodule
https://github.com/espruino/EspruinoTools/blob/master/core/terminal.js
Don't see anything about color and also any html printed by js code is escaped. Special case are inline images produced by
g.dump()
- handled here https://github.com/espruino/EspruinoTools/blob/master/core/terminal.js#L438escape codes handled here https://github.com/espruino/EspruinoTools/blob/master/core/terminal.js#L521