improve layout

This commit is contained in:
Joey Hess 2019-06-05 12:20:20 -04:00
parent 0b5cc89687
commit 30286bf067
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -74,8 +74,8 @@ commandAction a = Annex.getState Annex.concurrency >>= \case
else do
l <- liftIO $ drainTo (n-1) ws
findFreeSlot l
w <- liftIO $ async
$ snd <$> Annex.run st (inOwnConsoleRegion (Annex.output st) run)
w <- liftIO $ async $ snd <$> Annex.run st
(inOwnConsoleRegion (Annex.output st) run)
Annex.changeState $ \s -> s { Annex.workers = Right w:ws' }
commandActions :: [CommandStart] -> Annex ()