File: terminal-size.cabal

package info (click to toggle)
haskell-terminal-size 0.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 80 kB
  • sloc: haskell: 107; makefile: 4
file content (58 lines) | stat: -rw-r--r-- 1,291 bytes parent folder | download
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
name:                terminal-size
version:             0.3.4
synopsis:            Get terminal window height and width
description:
  Get terminal window height and width without ncurses dependency.
license:             BSD3
license-file:        LICENSE
author:              Andreas Hammar, Matvey Aksenov
maintainer:          matvey.aksenov@gmail.com
category:            System
build-type:          Simple
cabal-version:       >= 1.10
extra-source-files:
  README.markdown
  CHANGELOG.markdown

source-repository head
  type:     git
  location: https://github.com/biegunka/terminal-size

source-repository this
  type:     git
  location: https://github.com/biegunka/terminal-size
  tag:      0.3.4

library
  default-language:
    Haskell2010

  build-depends:
    base >= 4 && < 5
  if impl(ghc >= 7.2 && < 7.6)
     build-depends:
       ghc-prim
  if os(windows)
     build-depends:
       process,
       Win32 >= 2.13.2.0 && < 2.14

  build-tools:
    hsc2hs
  hs-source-dirs:
    src
  exposed-modules:
    System.Console.Terminal.Size

  other-modules:
    System.Console.Terminal.Common
  if os(Windows)
    other-modules:
      System.Console.Terminal.Windows
  else
    other-modules:
      System.Console.Terminal.Posix

  ghc-options:
    -Wall
    -fno-warn-unused-do-bind