retains the previous fg, bg colors of the terminal within the window