remove duplicate 'if cr == (0, 0):' in get_terminal_size