blob: 60a3538baa7b5af7fe92c1c1b9baaac9066ce42f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
cabal-version: 2.0
name: terminal-io
version: 0.1.0.0
-- synopsis:
-- description:
-- bug-reports:
homepage: https://git.tomsmeding.com/terminal-io-hs
license: MIT
license-file: LICENSE
author: Tom Smeding
maintainer: tom.smeding@gmail.com
-- copyright:
category: Graphics
build-type: Simple
library
ghc-options: -Wall
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
LambdaCase
MultiWayIf
exposed-modules:
System.IO.Terminal
System.IO.Terminal.Characters
System.IO.Terminal.Input
System.IO.Terminal.Input.Key
System.IO.Terminal.Render
other-modules:
Numeric.InfInt
System.IO.Terminal.IO
System.IO.Terminal.Input.SeqParser
Utils.Monad
Utils.Time
build-depends:
base >= 4 && < 5,
ansi-terminal >= 1.0,
array,
colour,
containers,
mtl,
stm,
terminal-size,
time,
unliftio-core,
unix
if os(linux)
cpp-options: -DOS_LINUX
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
System.IO.Terminal.IO.Posix
if os(windows)
cpp-options: -DOS_WINDOWS
other-modules:
System.IO.Terminal.Input.Windows
System.IO.Terminal.IO.Windows
build-depends: hidden-char
|