thephpleague / climate

PHP's best friend for the terminal.
http://climate.thephpleague.com
MIT License
1.87k stars 126 forks source link

$climate->border always prints 80 characters #200

Open s22-tech opened 1 year ago

s22-tech commented 1 year ago

Even calling it like this: $climate->border('/', 3); will print a line of 80 slashes in either Terminal, iTerm, or BBEdit.

Any idea as to what's going on? The only place where I see '80' in the code is in UtilFactory.php in function width().

CLImate v3.8.2 macOS 13.5

parallels999 commented 1 year ago

Without support

s22-tech commented 10 months ago

The fix to these problems can be found in this fork https://github.com/sartor/climate

Thank you, Sartor!

duncan3dc commented 10 months ago

Sorry for the delay, my funding for this project was cut so I've been struggling to find time for it. I'll cut a new release soon. If you have any fixes in forks please open pull requests for them. Happy Holidays

s22-tech commented 10 months ago

No worries. Thanks for the follow up!

Marc