diff options
Diffstat (limited to 'Types')
-rw-r--r-- | Types/UI.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Types/UI.hs b/Types/UI.hs index 561aa65..67b4c5f 100644 --- a/Types/UI.hs +++ b/Types/UI.hs @@ -10,8 +10,9 @@ import Types data UI = UI { isAvailable :: IO Bool , showError :: Desc -> IO () + , promptQuestion :: Title -> Desc -> IO Bool , promptName :: Title -> Desc -> Name -> (Name -> Maybe Problem) -> IO (Maybe Name) - , promptPassword :: Title -> Desc -> (Password -> Maybe Problem) -> IO (Maybe Password) + , promptPassword :: Bool -> Title -> Desc -> IO (Maybe Password) , promptKeyId :: Title -> Desc -> [(Name, KeyId)] -> IO (Maybe KeyId) , withProgress :: Title -> Desc -> ((Percent -> IO ()) -> IO ()) -> IO () } |