extracted code that checks for terminal support into a useable method

I'm using Terminal.supported() to decide which UI to load.