mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-15 04:31:31 +00:00
update dockerfiles based on latest streamline image
The latest images incorporate all changes previously added by the dockerfiles. The arm image however is still missing/unreliable from the registry and must be built independently.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Prompts\Concerns;
|
||||
|
||||
use Laravel\Prompts\Output\BufferedConsoleOutput;
|
||||
|
||||
use function Termwind\render;
|
||||
use function Termwind\renderUsing;
|
||||
|
||||
trait Termwind
|
||||
{
|
||||
protected function termwind(string $html)
|
||||
{
|
||||
renderUsing($output = new BufferedConsoleOutput());
|
||||
|
||||
render($html);
|
||||
|
||||
return $this->restoreEscapeSequences($output->fetch());
|
||||
}
|
||||
|
||||
protected function restoreEscapeSequences(string $string)
|
||||
{
|
||||
return preg_replace('/\[(\d+)m/', "\e[".'\1m', $string);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user