Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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 contemplating the Monastery: (7)
As of 2016-07-29 18:24 GMT
Find Nodes?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?

    Results (264 votes). Check out past polls.