|
@@ -303,7 +303,7 @@ |
|
|
block discarded – undo |
|
303
|
303
|
|
|
304
|
304
|
public function setWidth(int $width) : self |
|
305
|
305
|
{ |
|
306
|
|
- $availableWidth = $this->terminal->getWidth() - ($this->margin * 2) - ($this->padding * 2) - ($this->borderRightWidth + $this->borderLeftWidth); |
|
|
306
|
+ $availableWidth = $this->terminal->getWidth() - ($this->margin*2) - ($this->padding*2) - ($this->borderRightWidth + $this->borderLeftWidth); |
|
307
|
307
|
|
|
308
|
308
|
if ($width >= $availableWidth) { |
|
309
|
309
|
$width = $availableWidth; |
Please login to merge, or discard this patch.