fix(terminal) resizing