Can the font size be controlled from inside a NodeJS app when logging with console.log()?
I'm only interested in changing it at runtime and not changing it in the terminal settings.
Can the font size be controlled from inside a NodeJS app when logging with console.log()?
I'm only interested in changing it at runtime and not changing it in the terminal settings.
The way console.log works is that the output is sent to stdout or stderr, which are the standard stream provided by the OS to the application (nodejs) where it writes its output data. You can only pass text and ANSI escape codes to control the formatting of the text.
There's no option to control the font-size of the terminal text from within your node.js app.