in reply to Moving the output cursor in Windows
Which will return to the left of the screen before printing. As long as you don't print past the screen width you'll be okay. You can get the screen width usingprint "\r 10% complete (or whatever)";
which would allow you resize the progress bar on the fly.use Term::ReadKey; my ($wchar, $hchar, $wpixels, $hpixels) = GetTerminalSize();
|
|---|