Terminal control/Dimensions: Difference between revisions

Content deleted Content added
→‎Windows: When opening the console, use flags that Microsoft recommends at http://msdn.microsoft.com/en-us/library/aa363858%28v=VS.85%29.aspx
m →‎{{header|UNIX Shell}}: <lang bash>, not <lang sh>.
Line 298: Line 298:
{{works with|Bourne Shell}}
{{works with|Bourne Shell}}


<lang sh>#!/bin/sh
<lang bash>#!/bin/sh
WIDTH=`tput co`
WIDTH=`tput co`
HEIGHT=`tput li`
HEIGHT=`tput li`