Anonymous user
Terminal control/Dimensions: Difference between revisions
Changed the program to store the wisth and height in variables as required by the task.
Drkameleon (talk | contribs) (Added Arturo implementation) |
(Changed the program to store the wisth and height in variables as required by the task.) |
||
Line 507:
<lang nim>import terminal
echo "Terminal height: " & $terminalHeight()▼
echo "Terminal width: ", width
{{out}}
<pre>Terminal width: 80
Terminal height: 24</pre>
=={{header|OCaml}}==
|