summaryrefslogtreecommitdiff
path: root/terminal-io.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'terminal-io.cabal')
-rw-r--r--terminal-io.cabal19
1 files changed, 14 insertions, 5 deletions
diff --git a/terminal-io.cabal b/terminal-io.cabal
index f4ce793..60a3538 100644
--- a/terminal-io.cabal
+++ b/terminal-io.cabal
@@ -14,7 +14,7 @@ category: Graphics
build-type: Simple
library
- ghc-options: -Wall -O3
+ ghc-options: -Wall
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
@@ -39,15 +39,24 @@ library
colour,
containers,
mtl,
+ stm,
terminal-size,
- time
+ time,
+ unliftio-core,
+ unix
if os(linux)
cpp-options: -DOS_LINUX
- other-modules: System.IO.Terminal.Input.Posix
+ other-modules:
+ System.IO.Terminal.Input.Posix
+ System.IO.Terminal.IO.Posix
if os(darwin)
cpp-options: -DOS_MACOS
- other-modules: System.IO.Terminal.Input.Posix
+ other-modules:
+ System.IO.Terminal.Input.Posix
+ System.IO.Terminal.IO.Posix
if os(windows)
cpp-options: -DOS_WINDOWS
- other-modules: System.IO.Terminal.Input.Windows
+ other-modules:
+ System.IO.Terminal.Input.Windows
+ System.IO.Terminal.IO.Windows
build-depends: hidden-char