improve layout
This commit is contained in:
parent
0b5cc89687
commit
30286bf067
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ commandAction a = Annex.getState Annex.concurrency >>= \case
|
||||||
else do
|
else do
|
||||||
l <- liftIO $ drainTo (n-1) ws
|
l <- liftIO $ drainTo (n-1) ws
|
||||||
findFreeSlot l
|
findFreeSlot l
|
||||||
w <- liftIO $ async
|
w <- liftIO $ async $ snd <$> Annex.run st
|
||||||
$ snd <$> Annex.run st (inOwnConsoleRegion (Annex.output st) run)
|
(inOwnConsoleRegion (Annex.output st) run)
|
||||||
Annex.changeState $ \s -> s { Annex.workers = Right w:ws' }
|
Annex.changeState $ \s -> s { Annex.workers = Right w:ws' }
|
||||||
|
|
||||||
commandActions :: [CommandStart] -> Annex ()
|
commandActions :: [CommandStart] -> Annex ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue