render: added resize for windows terminals