Availability:built-in
tty_size(-Rows, 
-Columns)Determine the size of the terminal. This predicate is provided for POSIX 
terminals, Windows console and the swipl-win Prolog consoles. 
Portable code should wrap this into catch/3 
and use some default in case the console window size cannot be 
determined.