Skip to content

Commit b175ebb

Browse files
authored
Restoring newlines
1 parent ea93141 commit b175ebb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CliMenu.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,9 @@ protected function draw() : void
272272

273273
$this->terminal->moveCursorToTop();
274274
foreach ($frame->getRows() as $row) {
275-
$this->terminal->write("\033[1E" . rtrim($row, "\r\n"));
275+
$this->terminal->write($row);
276276
}
277-
$this->terminal->write("\033[1E\033[J");
277+
$this->terminal->write("\033[J");
278278

279279
$this->currentFrame = $frame;
280280
}

0 commit comments

Comments
 (0)