refactoring: initialize terminal with columns and lines