summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2023-12-19 22:53:24 +0100
committerEugen Wissner <belka@caraus.de>2023-12-19 22:53:24 +0100
commit49cbda602774bfceec3d31d95ec993aa1afcc74a (patch)
tree980e5517891ff41a24f4fa1452d1e4ae90f28376 /src
parenteb68629653f81f19df20b0d1c6bbab7d2f5db82d (diff)
downloadslackbuilder-49cbda602774bfceec3d31d95ec993aa1afcc74a.tar.gz
Move newline after resetting the colour
Diffstat (limited to 'src')
-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