Anonymous user
Terminal control/Cursor positioning: Difference between revisions
Terminal control/Cursor positioning (view source)
Revision as of 13:53, 24 October 2011
, 12 years agoNo need for irrational exhuberance.
(Added Python implementation.) |
m (No need for irrational exhuberance.) |
||
Line 33:
int main()
{
printf("\033[6;3HHello
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.
|