consolebuffer.py fix - utility to repair the console after crash

darcs-hash:20081126102159-b2873-e1979271104df6d0c64b03f31786323415de94d9