add function for get terminal size.