class ConfigureTerminalDimensions

Prevent Symfony Terminal from repeatedly spawning stty when headless.

Symfony does not cache failed dimension probes, so each lookup otherwise enters Swoole's hooked subprocess wait, which can hang even after stty exits.

Methods

void
bootstrap(Application $app)

Configure deterministic dimensions for a headless terminal.

static void
configure()

Configure headless fallback dimensions without modifying the environment.

Details

at line 24
void bootstrap(Application $app)

Configure deterministic dimensions for a headless terminal.

Parameters

Application $app

Return Value

void

at line 32
static void configure()

Configure headless fallback dimensions without modifying the environment.

Return Value

void