X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/laravel/prompts/src/Concerns
home
/
prisjneg
/
public_html
/
vendor
/
laravel
/
prompts
/
src
/
Concerns
/
📁
..
📄
Colors.php
(3.76 KB)
📄
Cursor.php
(1.53 KB)
📄
Erase.php
(611 B)
📄
Events.php
(753 B)
📄
FakesInputOutput.php
(2.66 KB)
📄
Fallback.php
(1.4 KB)
📄
Interactivity.php
(761 B)
📄
Scrolling.php
(2.92 KB)
📄
Termwind.php
(525 B)
📄
Themes.php
(3.78 KB)
📄
Truncation.php
(2.84 KB)
📄
TypedValue.php
(4.87 KB)
Editing: Termwind.php
<?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); } }
Upload File
Create Folder