[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: write to same line on standard out?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 14 Jul 2010 23:38:47 -0300
> I just can't seem to find any reference to \r in PIL or the reference manual. I thought that it is a type of carriage return but I don't understand how it would keep from the screen from scrolling if it was
\r is mentioned in http://www.lua.org/manual/5.1/manual.html#2.1 in the
paragraph that starts "Literal strings..."
The interpretation of \r after it is outpout is done by the terminal emulation
program you are using and it's a standard interpretation that it moves the
cursor to the beginning of the line.