This (OPTION ... StartUp tab) might be what you want:
View attachment 3556
There is also the environment variable TITLEPROMPT. It uses the same fields as PROMPT and is updated whenever the prompt is displayed.
I have "Update titles" unchecked and TITLEPROMPT = $s%[_4ver].%[_build]$s$s[%_pid]$s$s$p
View attachment 3557