summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index b668574..f0f9994 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -293,11 +293,12 @@ checkUpdateAvailability Package{..} version = do
| otherwise ->
liftIO $ do
setSGR [SetColor Foreground Dull Yellow]
- Text.IO.putStrLn
+ Text.IO.putStr
$ "A new version of "
<> name <> " " <> getField @"version" parsedInfoFile
<> " is available (" <> version <> ")."
setSGR [Reset]
+ putStrLn ""
pure $ Just parsedInfoFile
Left errorBundle -> liftIO (putStr $ errorBundlePretty errorBundle)
>> pure Nothing