4 lines
111 B
Raku
4 lines
111 B
Raku
use Term::Size;
|
|
|
|
($cols, $rows) = Term::Size::chars;
|
|
print "The terminal has $cols columns and $rows lines\n";
|