tests for TCPartialler
factor out self in prep for painter class
refactor repl painting into replpainter
formatting
making it terminalpainter more stateless
pure functions in replpainter!
remove cleanup and put it in __exit__