diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-12 11:36:44 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-12 11:36:44 -0400 |
commit | a58aea595a780c91bbbe26d2d24a63abcd835994 (patch) | |
tree | a75ad4761c57874863616749112990070a7f25fe /UI/Zenity.hs | |
parent | d813bbc0dc7357f23b647a3a05ef61067c53195f (diff) | |
download | keysafe-a58aea595a780c91bbbe26d2d24a63abcd835994.tar.gz |
add readline UI
Diffstat (limited to 'UI/Zenity.hs')
-rw-r--r-- | UI/Zenity.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UI/Zenity.hs b/UI/Zenity.hs index 2601f68..5eb4bef 100644 --- a/UI/Zenity.hs +++ b/UI/Zenity.hs @@ -27,7 +27,7 @@ zenityUI = UI , withProgress = progress } -name :: Title -> Desc -> (Name -> Maybe String) -> IO (Maybe Name) +name :: Title -> Desc -> (Name -> Maybe Problem) -> IO (Maybe Name) name title desc checkproblem = go "" where go extradesc = do @@ -45,7 +45,7 @@ name title desc checkproblem = go "" Just problem -> go problem else return Nothing -password :: Title -> Desc -> (Password -> Maybe String) -> IO (Maybe Password) +password :: Title -> Desc -> (Password -> Maybe Problem) -> IO (Maybe Password) password title desc checkproblem = go "" where go extradesc = do |