Console clear code is based on the platform.