[Console] Added a way to set terminal dimensions