redraws with terminal resize event