terminal.py - add function get window size.