comment
This commit is contained in:
parent
0288e934cc
commit
43e7044b43
2 changed files with 34 additions and 1 deletions
|
@ -45,7 +45,9 @@ startMass = do
|
|||
next massAdd
|
||||
|
||||
massAdd :: CommandPerform
|
||||
massAdd = go True =<< map (separate (== ' ')) . lines <$> liftIO getContents
|
||||
massAdd = do
|
||||
liftIO $ fileEncoding stdin
|
||||
go True =<< map (separate (== ' ')) . lines <$> liftIO getContents
|
||||
where
|
||||
go status [] = next $ return status
|
||||
go status ((keyname,f):rest) | not (null keyname) && not (null f) = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue