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

fix: Use the full width of the terminal for output if it is less than the MAX_WIDTH setting #110

Merged
merged 8 commits into from
Oct 2, 2023

Commits on Jun 12, 2023

  1. fix: Use the full width of the terminal for output if it is less than…

    … the MAX_WIDTH setting
    
    
    Fixes ewels#109
    ealap authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    0d60334 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    491f643 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Add WIDTH and refactor MAX_WIDTH

    - Fix ewels#109 by changing the behavior of MAX_WIDTH to still use the full width of the
      terminal if it is less than the limit
    - Add new flag WIDTH to take over the previous functionality of
      MAX_WIDTH
    - Adopt test expectations to new and modified configuration flags
    - Add new test for MAX_WIDTH
    
    Signed-off-by: Emmanuel Alap <15620712+ealap@users.noreply.github.com>
    
    # Please enter the commit message for your changes. Lines starting
    # with '#' will be ignored, and an empty message aborts the commit.
    #
    # On branch fix-max-width
    # Your branch is up to date with 'origin/fix-max-width'.
    #
    # Changes to be committed:
    #	modified:   README.md
    #	modified:   src/rich_click/rich_click.py
    #	modified:   src/rich_click/rich_help_configuration.py
    #	modified:   src/rich_click/rich_help_formatter.py
    #	modified:   tests/conftest.py
    #	modified:   tests/expectations/test_rich_click[test arguments with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test arguments].config.json
    #	modified:   tests/expectations/test_rich_click[test custom errors help].config.json
    #	modified:   tests/expectations/test_rich_click[test custom errors with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test declarative with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test declarative].config.json
    #	modified:   tests/expectations/test_rich_click[test environment variables with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test envvar].config.json
    #	modified:   tests/expectations/test_rich_click[test group sorting].config.json
    #	modified:   tests/expectations/test_rich_click[test groups sorting with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test markdown with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test markdown].config.json
    #	modified:   tests/expectations/test_rich_click[test metavars default with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test metavars default].config.json
    #	modified:   tests/expectations/test_rich_click[test metavars with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test metavars].config.json
    #	modified:   tests/expectations/test_rich_click[test rich markup with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test rich markup].config.json
    #	modified:   tests/expectations/test_rich_click[test simple with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test simple].config.json
    #	modified:   tests/expectations/test_rich_click[test table styles with rich_config].config.json
    #	modified:   tests/expectations/test_rich_click[test table styles].config.json
    #	modified:   tests/test_help.py
    #
    ealap committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    c92c1e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. resolve merge conflicts

    dwreeves committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    7888773 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4865668 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. resolve merge conflict

    dwreeves committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    3c3d48a View commit details
    Browse the repository at this point in the history
  2. update test cases

    dwreeves committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    e5a8911 View commit details
    Browse the repository at this point in the history
  3. fix test

    dwreeves committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    13860e1 View commit details
    Browse the repository at this point in the history