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

Allows setting maximum column width --columns-width #307

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Commits on Nov 17, 2019

  1. Allows setting maximum column width --columns-width

    - If specified --columns-width or HASS_COL_WIDTH env var
      truncates column values
    - Uses default const.COLUMNS_WIDTH_STR
    - Fixes home-assistant-ecosystem#253
    jm66 authored and maxandersen committed Nov 17, 2019
    Configuration menu
    Copy the full SHA
    5cd64f1 View commit details
    Browse the repository at this point in the history
  2. Improving --column-width to 0: auto, -1: disable

    any other integer will be taken as fixed column
    width. Default value is -1: disable since
    truncating columns without user consent might be
    a little too much.
    0: auto does a basic calculation based on the
    terminal size shutil.get_terminal_size() and the
    number of columns in the result.
    jm66 authored and maxandersen committed Nov 17, 2019
    Configuration menu
    Copy the full SHA
    b6b5dd2 View commit details
    Browse the repository at this point in the history