Lines Matching refs:width
32 $width = $this->getTerminalWidth();
33 if ($width) {
34 $this->max = $width - 1;
102 $width = (int)stream_get_contents($pipes[1]);
105 return $width;
196 foreach ($columns as $col => $width) {
197 $wrapped[$col] = explode("\n", $this->wordwrap($texts[$col], $width, "\n", true));
208 foreach ($columns as $col => $width) {
214 $chunk = $this->pad($val, $width);
287 * @param int $width
293 protected function wordwrap($str, $width = 75, $break = "\n", $cut = false) argument
299 if ($this->strlen($line) <= $width) {
318 if ($this->strlen($actual . $word) <= $width) {
326 while ($this->strlen($actual) > $width) {
327 $line .= $this->substr($actual, 0, $width) . $break;
328 $actual = $color . $this->substr($actual, $width);