Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 taking refuge in the Monastery: (8)
As of 2015-11-25 20:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (690 votes), past polls