Refactoring Console renderer