Terminal control/Clear the screen: Difference between revisions
Content added Content deleted
(→Mattel/Radofin {{header|Aquarius BASIC}} (Microsoft): rm - this info is now in the newly-created category article) |
|||
Line 238: | Line 238: | ||
system("cls"); |
system("cls"); |
||
}</lang> |
}</lang> |
||
For Unix-likes, changing the above <code>system("cls");</code> to <code>system("clear");</code> usually works, however the <code>getchar();</code> perhaps doesn't always work as expected if you press anything other than return. This is because of the raw vs. cooked terminal mode thing. |
|||
=={{header|C sharp|C#}}== |
=={{header|C sharp|C#}}== |