Gets the window title string.
gettitle <strvar>
Retrieves the title text of Tera Term and stores it in the string variable <strvar>.
gettitle titletext