avoid unnessary newlines before progress in quiet mode
This commit is contained in:
parent
d92f186fc4
commit
7c0777c60d
3 changed files with 6 additions and 3 deletions
2
Core.hs
2
Core.hs
|
@ -154,6 +154,8 @@ showNote :: String -> Annex ()
|
|||
showNote s = verbose $ do
|
||||
liftIO $ putStr $ "(" ++ s ++ ") "
|
||||
liftIO $ hFlush stdout
|
||||
showProgress :: Annex ()
|
||||
showProgress = verbose $ liftIO $ putStr $ "\n"
|
||||
showLongNote :: String -> Annex ()
|
||||
showLongNote s = verbose $ do
|
||||
liftIO $ putStr $ "\n" ++ (indent s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue