terminal: setup correct terminal size