404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.188.218.219: ~ $
<?php

declare(strict_types=1);

namespace Termwind;

use Symfony\Component\Console\Terminal as ConsoleTerminal;

/**
 * @internal
 */
final class Terminal
{
    /**
     * An instance of Symfony's console terminal.
     */
    private ConsoleTerminal $terminal;

    /**
     * Creates a new terminal instance.
     */
    public function __construct(ConsoleTerminal $terminal = null)
    {
        $this->terminal = $terminal ?? new ConsoleTerminal();
    }

    /**
     * Gets the terminal width.
     */
    public function width(): int
    {
        return $this->terminal->getWidth();
    }

    /**
     * Gets the terminal height.
     */
    public function height(): int
    {
        return $this->terminal->getHeight();
    }

    /**
     * Clears the terminal screen.
     */
    public function clear(): void
    {
        Termwind::getRenderer()->write("\ec");
    }
}

Filemanager

Name Type Size Permission Actions
Actions Folder 0755
Components Folder 0755
Enums Folder 0755
Exceptions Folder 0755
Helpers Folder 0755
Html Folder 0755
Laravel Folder 0755
Repositories Folder 0755
ValueObjects Folder 0755
Functions.php File 1.49 KB 0644
HtmlRenderer.php File 3.8 KB 0644
Question.php File 2.49 KB 0644
Terminal.php File 886 B 0644
Termwind.php File 9.04 KB 0644