{- Copyright 2016 Joey Hess - - Licensed under the GNU AGPL version 3 or higher. -} module UI where import Types.UI import Control.Monad import UI.Zenity import UI.Readline availableUI :: IO [UI] availableUI = filterM isAvailable [zenityUI, readlineUI]