summaryrefslogtreecommitdiff
path: root/terminal-io.cabal
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2023-07-09 16:22:47 +0200
committerTom Smeding <tom@tomsmeding.com>2023-07-09 16:22:47 +0200
commitb3da0f16b5e47732bc1b2d632088830dab87a77d (patch)
tree413dd2f53da910f72eb6fe1e3ea31ffbb2aa25c4 /terminal-io.cabal
parent8418014253e3f5507dccfd4b7ef61c4402d6e0a6 (diff)
Handling of SIGWINCH (and some maintenance)HEADmaster
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