terminal: Use the correct function names for setting titles

I hope I didn't miss any!