Added function for getting the full URL for the terminal.