|
|
| go ahead... be a heretic | |
| PerlMonks |
Avoid newline echoing so I can capture a line and reprompt over itby hlen (Beadle) |
| on Sep 02, 2004 at 01:06 UTC ( [id://387798]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.hlen has asked for the wisdom of the Perl Monks concerning the following question:
That pretty much states it.. I'm looking for a way to
interectively capture a line of input and redraw the prompt
over it, avoiding the line's scrolling up. I'm using
Term::ReadLine, but a general solution would be nicely
accepted. Seems I'd need to avoid the term's echoing of the
newline and then print "\rPrompt: ".. something like that.
Thanks in advance
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||