Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #22377 [Console] Allow terminal dimensions to be set to 0 (unboun…
…ded) (duncan3dc) This PR was merged into the 3.2 branch. Discussion ---------- [Console] Allow terminal dimensions to be set to 0 (unbounded) | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #21513 | License | MIT A previous PR (#20328) changed the behavior of terminals with undefined widths from unbounded to 80 characters. And due to the way the existing code worked it become impossible to set a terminal to be unbounded again. This PR provides a way to restore the previous behavior: ```php putenv('COLUMNS=0'); ``` Commits ------- 4c1b001 Allow terminal dimensions to be set to 0 (unbounded)
- Loading branch information