Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Write clean new line for writeLine method (no background color) #3194

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion library/Zend/Console/Adapter/AbstractAdapter.php
Expand Up @@ -101,7 +101,8 @@ public function writeLine($text = "", $color = null, $bgColor = null)
} elseif ($width == $consoleWidth) {
$this->write($text, $color, $bgColor);
} else {
$this->write($text . "\n", $color, $bgColor);
$this->write($text, $color, $bgColor);
$this->write("\n");
}
}

Expand Down