added terminal resizing escape code