Page MenuHomePhorge
Diviner libphutil Tech Docs phutil_console_get_terminal_width

function phutil_console_get_terminal_width()
libphutil Technical Documentation (Console)

Determine the width of the terminal, if possible. Returns null on failure.

Return
int|nullTerminal width in characters, or null on failure.