terminal: Use the correct function names for setting titles

This fixes #2.
Merge pull request #3 from antifuchs/fix-terminal-title-function-renames

terminal: Use the correct function names for setting titles