resize handeling

* TODO: non filled terminal handeling