You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is causing lines to be cut when using in a context where Node is run using terminal redirection (WebStorm run console, AWS CloudWatch logs, ...)
Would it be possible to introduce an environment variable or a way to change this default value? If yes, I can open a pull-request for that.
Environment variable could be something like RENDERKID_DEFAULT_TERMINAL_WIDTH.
The text was updated successfully, but these errors were encountered:
I could not find any, and I guess there is probably none, since non-TTY terminals don't have a fixed width.
This could simply be provided as an extra configuration with a default value that could remain 80, but still be available for people who have the need to customise that value.
Here in the code, the terminal width is defaulted to 80 for non-TTY terminals:
RenderKid/src/tools.coffee
Line 83 in e8c9744
This is causing lines to be cut when using in a context where Node is run using terminal redirection (WebStorm run console, AWS CloudWatch logs, ...)
Would it be possible to introduce an environment variable or a way to change this default value? If yes, I can open a pull-request for that.
Environment variable could be something like RENDERKID_DEFAULT_TERMINAL_WIDTH.
The text was updated successfully, but these errors were encountered: