Fanxing's window test
cprint updated
Original
No need to modify pretty-printer after all