Switch from deprecated 'tty_rows' to 'tty_size'