Terminal control/Cursor positioning: Difference between revisions
Content added Content deleted
(→{{header|Perl 6}}: add entry) |
(Added Racket) |
||
Line 149: | Line 149: | ||
Using ANSI escape sequence, where ESC[y;xH moves curser to row y, col x:<lang Python>print("\033[6;3HHello")</lang> |
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. |
On Windows it needs to import and init the [http://code.google.com/p/colorama/ colorama] module first. |
||
=={{header|Racket}}== |
|||
<lang racket> |
|||
#lang racket |
|||
(require (planet neil/charterm:3:0)) |
|||
(with-charterm |
|||
(charterm-clear-screen) |
|||
(charterm-cursor 3 6) |
|||
(displayln "Hello World")) |
|||
</lang> |
|||
=={{header|REXX}}== |
=={{header|REXX}}== |