Compare commits

..

No commits in common. "85920c26a04c53de8128e5ece733d9e2a746053a" and "bb8508138005d36a2e75e4c9c078688d834c6826" have entirely different histories.

3 changed files with 3 additions and 8 deletions

View File

@ -1,10 +1,5 @@
# Changelog for passman
## current
- minor UI tweak
- minor refactoring
## 0.3.1.1
- updated documentation to on longer mention GitHub

View File

@ -142,7 +142,7 @@ buildData = do
searchServ :: S.StateT Status IO ()
searchServ = do
svc <- req $ prompt "\nservice name: " reqResp
svc <- req $ prompt "service name: " reqResp
db <- S.gets $ view database
case pwSearch svc db of
[] -> do

View File

@ -105,9 +105,9 @@ confirm :: String -> Request Bool
confirm x = prompt (x ++ " (y/n): ") $ reqAgree Nothing $ fmap return reqChar
loadFrom :: FilePath -> Request PWDatabase
loadFrom path = fromMaybe newPWDatabase <$> reqDefault
loadFrom path = reqDefault
(reqIO (decodeFileStrict path))
(Just newPWDatabase)
(Just newPWDatabase) >>= (return . fromMaybe newPWDatabase)
save :: S.StateT Status IO ()
save = do