avoid setting title when not at console
This commit is contained in:
parent
0c39e3137d
commit
6eb64d56e3
|
@ -27,6 +27,8 @@ mainProperties :: Host -> IO ()
|
||||||
mainProperties host = do
|
mainProperties host = do
|
||||||
r <- runPropellor host $
|
r <- runPropellor host $
|
||||||
ensureProperties [Property "overall" (ensureProperties $ hostProperties host) mempty]
|
ensureProperties [Property "overall" (ensureProperties $ hostProperties host) mempty]
|
||||||
|
h <- mkMessageHandle
|
||||||
|
whenConsole h $
|
||||||
setTitle "propellor: done"
|
setTitle "propellor: done"
|
||||||
hFlush stdout
|
hFlush stdout
|
||||||
case r of
|
case r of
|
||||||
|
|
Loading…
Reference in New Issue