Thread Cursorpositon
(2 answers)
Opened by Spuki at 2007-08-02 15:26
Win32::Console
aus der doku: Cursor [x, y, size, visible] Gets or sets cursor position and appearance. Returns undef on errors, or a 4-element list containing: x, y, size, visible. x and y are the current cursor position; ... Example: ($x, $y, $size, $visible) = $CONSOLE->Cursor(); # Get position only ($x, $y) = $CONSOLE->Cursor(); $CONSOLE->Cursor(40, 13, 50, 1); # Set position only $CONSOLE->Cursor(40, 13); # Set size and visibility without affecting position $CONSOLE->Cursor(-1, -1, 50, 1); Gerade weil wir alle in einem Boot sitzen, sollten wir froh sein, dass nicht alle auf unserer Seite sind
|