On Sat, Sep 22, 2012 at 3:31 AM, Chris Angelico <ros...@gmail.com> wrote: > It's an ANSI escape sequence, or rather two of them. The first one > clears the screen, the second returns you to 0,0. (Isn't that implicit > in the 2J code? Maybe I'm misremembering.)
Ah. From Wikipedia: "If n is two, clear entire screen (and moves cursor to upper left on MS-DOS ANSI.SYS)." So adding \e[H is necessary. ChrisA -- http://mail.python.org/mailman/listinfo/python-list