gets rid of refresh
Adds escape sequence to colours