Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ls condensed breakpoint env variable #5542

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Commits on Jan 29, 2023

  1. ls condensed breakpoint env variable

    PM2's table incorrectly renders on nearly all of my servers because of how much information its displays and my screen doesn't have the width for it.
    - It attempts to render the full table even when the screen cannot support it; resulting in an overflow of various bars to the next line.
    - I would prefer if this was updated to not be an issue at all, but a simple environment variable would suffice as a quick fix.
    
    My proposal is to add `PM2_LS_CONDENSED_COLUMN_BREAKPOINT` as an option to specify what value is used to determine if condensed mode should be run. This would let admins define the variable globally for all users to ensure that anyone who runs `pm2 ls` will get the proper display mode.
    - I think an overly specific name such as this would be good because it wouldn't conflict with anything else, and it would allow you to explicitly change the behavior of only this single component of PM2.
    cseitz committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    6a9f850 View commit details
    Browse the repository at this point in the history