Terminal control/Dimensions: Difference between revisions
m
→{{header|Mathematica}}
(Added Wren) |
|||
Line 524:
30 PRINT "window width:"; w%; ", height:"; h%</lang>
=={{header|Mathematica}}/{{header|Wolfram Language}}==
<lang Mathematica>WIDTH=RunThrough["tput cols", ""];
HEIGHT=RunThrough["tput lines", ""];</lang>
|