Implement support for switching TTY