Skip to content

fix: respect all config file provided width values#793

Open
sivel wants to merge 1 commit intocharmbracelet:masterfrom
sivel:issue/752
Open

fix: respect all config file provided width values#793
sivel wants to merge 1 commit intocharmbracelet:masterfrom
sivel:issue/752

Conversation

@sivel
Copy link

@sivel sivel commented Jul 1, 2025

Describe your changes

This PR aims to address #752 where width values specified in the config file below 80 or above 120 are effectively ignored, including the special value of 0.

To do this, the default value written to the config file is set to 0 to mirror the viper default for width, and the special casing to restrict with width when not user specified has been removed. Users with a pre-existing config file will still maintain the previously set value of 80, and should still see the previous behavior.

Fixes #752

Related issue/discussion: #752

Checklist before requesting a review

If this is a feature

  • I have created a discussion
  • A project maintainer has approved this feature request. Link to comment:

@sivel sivel requested a review from a team as a code owner July 1, 2025 22:29
@sivel sivel requested review from bashbunni and removed request for a team July 1, 2025 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

config file not respected

1 participant