PHP » GoLang |
login |
register |
about
|
GoLang newt_get_screen_size
request it (328)
GoLang replacement for PHP's newt_get_screen_size
[edit | history]
newt_get_screen_size(PECL newt >= 0.1) newt_get_screen_size — Fills in the passed references with the current size of the terminal Description
void newt_get_screen_size
( int
&$cols
, int &$rows
)Fills in the passed references with the current size of the terminal. Parameters
Return ValuesNo value is returned. Examples
Example #1 A newt_get_screen_size() example This code prints out the screen size of your terminal.
<?php The above example will output: Your terminal size is: 138x47 |
more
Recently updated
more
Most requested
more
Last requests
|