terminal now redraws when resized