aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-02-26 07:55:47 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-02-26 07:55:47 -0700
commit43f069ac3a6b3482aebd65d059c6c375f9af97f9 (patch)
treecbf0ac454cf60560b2f897e9ff3510f3e7c9eb33
parent007af28c2abe60fb4cb10482683a335a3366e462 (diff)
downloadsscan-43f069ac3a6b3482aebd65d059c6c375f9af97f9.tar.gz
import forkFinally
-rw-r--r--Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 7a60e79..5b71fd8 100644
--- a/Main.hs
+++ b/Main.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
+import Control.Concurrent (forkFinally)
import Control.Monad (void)
import Data.Monoid
import qualified Data.Text as T
@@ -36,7 +37,7 @@ drawUI st = [ui]
, vLimit 6 $ C.center $ actionsBox
]
status = str $ case st^.stPageCount of
- Just n -> "Scanned " ++ show n ++ " pages"
+ Just n -> "Scanned " ++ show n ++ " pages"
Nothing -> "Ready to scan first page"
settingsBox = defnList AlignRight Nothing
[ ("run OCRmyPDF", if st^.stOCR then "yes" else "no")