in reply to Re^2: seek() command on STDOUT
in thread seek() command on STDOUT
On *nix, you can probably use ansi escape sequences to move the cursor around (untested):
sub moveTo{ my( $x, $y ) = @_; return chr(27) . "[$y;$xH"; } print moveTo( 25, 25), 'some text'; print moveTo( 10, 10 ), ' ';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: seek() command on STDOUT
by ybnormal (Novice) on May 01, 2010 at 04:02 UTC |