diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-02-26 07:55:47 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-02-26 07:55:47 -0700 |
commit | 43f069ac3a6b3482aebd65d059c6c375f9af97f9 (patch) | |
tree | cbf0ac454cf60560b2f897e9ff3510f3e7c9eb33 | |
parent | 007af28c2abe60fb4cb10482683a335a3366e462 (diff) | |
download | sscan-43f069ac3a6b3482aebd65d059c6c375f9af97f9.tar.gz |
import forkFinally
-rw-r--r-- | Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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") |