Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Resetting your Terminal for each line printed

by liverpole (Monsignor)
on Sep 27, 2006 at 11:02 UTC ( #575125=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    print "\e[K";
  2. or download this
    print  "\e[H";              # Put the cursor on the first line
    print  "\e[J";              # Clear from cursor to end of screen
    print  "\e[m";              # Turn off character attributes (eg. color
    printf "\e[%dm", $N;        # Set color to $N (for values of 30-37, or
    + 100-107)
    printf "\e[%d;%dH", $R, $C; # Put cursor at row $R, column $C (good fo
    +r "drawing")

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://575125]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-07-29 06:11 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (260 votes), past polls