Moved Terminal-style prevMsgPrinter to new class