tarunmudgal4u has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, I'm working on a script wherein I want to check the current cursor position on the console whether it's at the beginning of the line or somewhere in between.
I tried using tell function but it returns total bytes rather coordinates. If I can get cursor coordinates somehow, I would be able to check the x coordinate and confirm if cursor it at the beginning of the line or not.
Please let me know your suggestions on this
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to get current cursor position on Windows command prompt
by davido (Cardinal) on Sep 30, 2013 at 06:58 UTC | |
Re: How to get current cursor position on Windows command prompt
by Marshall (Canon) on Sep 30, 2013 at 08:19 UTC |
Back to
Seekers of Perl Wisdom