mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-30 02:13:36 +03:00
583 lines
19 KiB
Plaintext
583 lines
19 KiB
Plaintext
name: vty
|
|
version: 5.0.0
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
author: AUTHORS
|
|
maintainer: Corey O'Connor (coreyoconnor@gmail.com)
|
|
homepage: https://github.com/coreyoconnor/vty
|
|
category: User Interfaces
|
|
synopsis: A simple terminal UI library
|
|
description:
|
|
vty is terminal GUI library in the niche of ncurses. It is intended to be easy to use, have no
|
|
confusing corner cases, and good support for common terminal types.
|
|
.
|
|
Included in the source distribution is a program test/interactive_terminal_test.hs that
|
|
demonstrates the various features.
|
|
.
|
|
If your terminal is not behaving as expected the results of the vty-interactive-terminal-test
|
|
executable should be sent to the Vty maintainter to aid in debugging the issue.
|
|
.
|
|
Notable infelicities: Sometimes poor efficiency; Assumes UTF-8 character encoding support by the
|
|
terminal;
|
|
.
|
|
Project is hosted on github.com: https:\/\/github.com\/coreyoconnor\/vty
|
|
.
|
|
git clone git:\/\/github.com\/coreyoconnor\/vty.git
|
|
.
|
|
© 2006-2007 Stefan O'Rear; BSD3 license.
|
|
.
|
|
© Corey O'Connor; BSD3 license.
|
|
-- the test suites require >= 1.17.0
|
|
cabal-version: >= 1.14.0
|
|
build-type: Simple
|
|
data-files: README.md,
|
|
TODO,
|
|
AUTHORS,
|
|
CHANGELOG,
|
|
LICENSE
|
|
|
|
library
|
|
default-language: Haskell2010
|
|
build-depends: base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
exposed-modules: Graphics.Vty
|
|
Graphics.Vty.Attributes
|
|
Graphics.Vty.Error
|
|
Graphics.Vty.Image
|
|
Graphics.Vty.Inline
|
|
Graphics.Vty.LLInput
|
|
Graphics.Vty.Picture
|
|
Graphics.Vty.Terminal
|
|
Graphics.Text.Width
|
|
-- the modules below are only meant to be used by the tests.
|
|
Codec.Binary.UTF8.Debug
|
|
Data.Terminfo.Parse
|
|
Data.Terminfo.Eval
|
|
Data.Marshalling
|
|
Graphics.Vty.Debug
|
|
Graphics.Vty.Debug.Image
|
|
Graphics.Vty.DisplayRegion
|
|
Graphics.Vty.DisplayAttributes
|
|
Graphics.Vty.Image.Internal
|
|
Graphics.Vty.PictureToSpans
|
|
Graphics.Vty.Span
|
|
Graphics.Vty.Terminal.Mock
|
|
Graphics.Vty.Terminal.Interface
|
|
Graphics.Vty.Terminal.MacOSX
|
|
Graphics.Vty.Terminal.XTermColor
|
|
Graphics.Vty.Terminal.TerminfoBased
|
|
|
|
c-sources: cbits/gwinsz.c
|
|
cbits/set_term_timing.c
|
|
cbits/mk_wcwidth.c
|
|
|
|
include-dirs: cbits
|
|
|
|
hs-source-dirs: src
|
|
|
|
ghc-options: -O2 -funbox-strict-fields -Wall -fno-full-laziness -fspec-constr -fspec-constr-count=10
|
|
|
|
ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fno-full-laziness -fspec-constr -fspec-constr-count=10
|
|
|
|
cc-options: -O2
|
|
|
|
test-suite verify-attribute-ops
|
|
default-language: Haskell2010
|
|
type: detailed-0.9
|
|
hs-source-dirs: test
|
|
test-module: VerifyAttributeOps
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-terminal
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyTerminal
|
|
|
|
other-modules: Verify
|
|
Verify.Graphics.Vty.Attributes
|
|
Verify.Graphics.Vty.DisplayRegion
|
|
Verify.Graphics.Vty.Picture
|
|
Verify.Graphics.Vty.Image
|
|
Verify.Graphics.Vty.Span
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-display-attributes
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyDisplayAttributes
|
|
|
|
other-modules: Verify
|
|
Verify.Graphics.Vty.Attributes
|
|
Verify.Graphics.Vty.DisplayRegion
|
|
Verify.Graphics.Vty.Picture
|
|
Verify.Graphics.Vty.Image
|
|
Verify.Graphics.Vty.Span
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-empty-image-props
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyEmptyImageProps
|
|
|
|
other-modules: Verify
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-eval-terminfo-caps
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyEvalTerminfoCaps
|
|
|
|
other-modules: Verify
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-image-ops
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyImageOps
|
|
|
|
other-modules: Verify
|
|
Verify.Graphics.Vty.Attributes
|
|
Verify.Graphics.Vty.Image
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-image-trans
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyImageTrans
|
|
|
|
other-modules: Verify
|
|
Verify.Graphics.Vty.Attributes
|
|
Verify.Graphics.Vty.Image
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-inline
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyInline
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-parse-terminfo-caps
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyParseTerminfoCaps
|
|
|
|
other-modules: Verify
|
|
Verify.Data.Terminfo.Parse
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-picture-ops
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyPictureOps
|
|
|
|
other-modules: Verify
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-picture-to-span
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyPictureToSpan
|
|
|
|
other-modules: Verify
|
|
Verify.Graphics.Vty.Attributes
|
|
Verify.Graphics.Vty.DisplayRegion
|
|
Verify.Graphics.Vty.Picture
|
|
Verify.Graphics.Vty.Image
|
|
Verify.Graphics.Vty.Span
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-span-ops
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifySpanOps
|
|
|
|
other-modules: Verify
|
|
Verify.Graphics.Vty.Attributes
|
|
Verify.Graphics.Vty.DisplayRegion
|
|
Verify.Graphics.Vty.Picture
|
|
Verify.Graphics.Vty.Image
|
|
Verify.Graphics.Vty.Span
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
test-suite verify-utf8-width
|
|
default-language: Haskell2010
|
|
|
|
type: detailed-0.9
|
|
|
|
hs-source-dirs: test
|
|
|
|
test-module: VerifyUtf8Width
|
|
|
|
other-modules: Verify
|
|
|
|
build-depends: vty,
|
|
Cabal == 1.17.*,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
|
|
executable vty-interactive-terminal-test
|
|
main-is: interactive_terminal_test.hs
|
|
|
|
default-language: Haskell2010
|
|
|
|
hs-source-dirs: test
|
|
|
|
build-depends: vty,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
string-qq,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
executable vty-benchmark
|
|
main-is: benchmark.hs
|
|
|
|
default-language: Haskell2010
|
|
|
|
hs-source-dirs: test
|
|
|
|
build-depends: vty,
|
|
base >= 4 && < 5,
|
|
bytestring,
|
|
Cabal == 1.17.*,
|
|
containers,
|
|
deepseq >= 1.1 && < 1.4,
|
|
ghc-prim,
|
|
lens,
|
|
mtl >= 1.1.1.0 && < 2.2,
|
|
parallel >= 2.2 && < 3.3,
|
|
parsec >= 2 && < 4,
|
|
QuickCheck >= 2.4,
|
|
random == 1.0.*,
|
|
string-qq,
|
|
terminfo >= 0.3 && < 0.4,
|
|
text >= 0.11.3,
|
|
unix,
|
|
utf8-string >= 0.3 && < 0.4,
|
|
vector >= 0.7
|
|
|
|
-- ControlTable.hs
|
|
-- HereDoc.hs
|
|
-- Test.hs
|
|
-- Test2.hs
|
|
-- Verify.hs
|
|
-- Verify/Data/Terminfo/Parse.hs
|
|
-- Verify/Graphics/Vty/Attributes.hs
|
|
-- Verify/Graphics/Vty/DisplayRegion.hs
|
|
-- Verify/Graphics/Vty/Image.hs
|
|
-- Verify/Graphics/Vty/Picture.hs
|
|
-- Verify/Graphics/Vty/Span.hs
|
|
-- vty_inline_example.hs
|
|
-- vty_issue_18.hs
|
|
-- yi_issue_264.hs
|
|
|