diff options
Diffstat (limited to 'Command/FromKey.hs')
-rw-r--r-- | Command/FromKey.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Command/FromKey.hs b/Command/FromKey.hs index dca63aabe..6a81c1f74 100644 --- a/Command/FromKey.hs +++ b/Command/FromKey.hs @@ -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 |