Terminal control/Cursor positioning: Difference between revisions

m
No need for irrational exhuberance.
(Added Python implementation.)
m (No need for irrational exhuberance.)
Line 33:
int main()
{
printf("\033[6;3HHello!\n");
return 0;
}</lang>
Line 89:
=={{header|Python}}==
Using ANSI escape sequence, where ESC[y;xH moves curser to row y, col x:<lang Python>
print("\033[6;3HHello!")
</lang>
On Windows it needs to import and init the [http://code.google.com/p/colorama/ colorama] module first.
Anonymous user