Home > PHP > Function > Newt > newt_get_screen_size()

newt_get_screen_size()

newt_get_screen_size - Fills in the passed references with the current size of the terminal

Syntax

newt_get_screen_size (int &$cols, int &$rows)

Arguments

  • cols - Number of columns in the terminal
  • rows - Number of rows in the terminal

Description

Fills in the passed references with the current size of the terminal.

Version

PHP PECL newt >= 0.1

Return value

No value is returned.