Add function to set title of Terminal tab