Clean up terminal fmt stuff