6maintainer: Jonathan Daugherty (cygnus@foobox.com)
7homepage: https://github.com/jtdaugherty/vty
8category: User Interfaces
9synopsis: A simple terminal UI library
11 vty is terminal GUI library in the niche of ncurses. It is intended to
12 be easy to use, have no confusing corner cases, and good support for
13 common terminal types.
15 See the @vty-examples@ package as well as the program
16 @test/interactive_terminal_test.hs@ included in the @vty@ package for
17 examples on how to use the library.
19 Import the "Graphics.Vty" convenience module to get access to the core
22 © 2006-2007 Stefan O'Rear; BSD3 license.
24 © Corey O'Connor; BSD3 license.
26 © Jonathan Daugherty; BSD3 license.
29extra-doc-files: README.md,
33tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3
37 location: https://github.com/jtdaugherty/vty.git
40 default-language: Haskell2010
41 build-depends: base >= 4.8 && < 5,
42 blaze-builder >= 0.3.3.2 && < 0.5,
45 deepseq >= 1.1 && < 1.5,
47 filepath >= 1.0 && < 2.0,
51 -- required for nice installation with yi
53 mtl >= 1.1.1.0 && < 2.3,
54 parallel >= 2.2 && < 3.3,
57 terminfo >= 0.3 && < 0.5,
58 transformers >= 0.3.0.0,
61 utf8-string >= 0.3 && < 1.1,
65 build-depends: semigroups >= 0.16
67 exposed-modules: Graphics.Vty
68 Graphics.Vty.Attributes
73 Graphics.Vty.Inline.Unsafe
75 Graphics.Vty.Input.Events
79 -- the modules below are only meant to be used by the tests.
80 Codec.Binary.UTF8.Debug
84 Graphics.Vty.DisplayAttributes
85 Graphics.Vty.Image.Internal
86 Graphics.Vty.Input.Classify
87 Graphics.Vty.Input.Classify.Types
88 Graphics.Vty.Input.Classify.Parse
89 Graphics.Vty.Input.Loop
90 Graphics.Vty.Input.Mouse
91 Graphics.Vty.Input.Focus
92 Graphics.Vty.Input.Paste
93 Graphics.Vty.Input.Terminfo
94 Graphics.Vty.PictureToSpans
96 Graphics.Vty.Output.Mock
97 Graphics.Vty.Output.Interface
98 Graphics.Vty.Output.XTermColor
99 Graphics.Vty.Output.TerminfoBased
101 other-modules: Graphics.Vty.Attributes.Color
102 Graphics.Vty.Attributes.Color240
103 Graphics.Vty.Debug.Image
104 Graphics.Vty.Input.Terminfo.ANSIVT
106 c-sources: cbits/gwinsz.c
107 cbits/set_term_timing.c
114 default-extensions: ScopedTypeVariables
115 ForeignFunctionInterface
117 ghc-options: -O2 -funbox-strict-fields -Wall -fspec-constr -fspec-constr-count=10
119 ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr -fspec-constr-count=10
121executable vty-mode-demo
123 hs-source-dirs: demos
125 default-language: Haskell2010
126 default-extensions: ScopedTypeVariables
127 ghc-options: -threaded
134 mtl >= 1.1.1.0 && < 2.3
138 hs-source-dirs: demos
140 default-language: Haskell2010
141 default-extensions: ScopedTypeVariables
142 ghc-options: -threaded
149 mtl >= 1.1.1.0 && < 2.3
151test-suite verify-using-mock-terminal
152 default-language: Haskell2010
153 default-extensions: ScopedTypeVariables
159 test-module: VerifyUsingMockTerminal
161 other-modules: Verify
162 Verify.Graphics.Vty.Attributes
163 Verify.Graphics.Vty.Prelude
164 Verify.Graphics.Vty.Picture
165 Verify.Graphics.Vty.Image
166 Verify.Graphics.Vty.Span
167 Verify.Graphics.Vty.Output
172 random >= 1.0 && < 1.2,
176 deepseq >= 1.1 && < 1.5,
177 mtl >= 1.1.1.0 && < 2.3,
179 terminfo >= 0.3 && < 0.5,
181 utf8-string >= 0.3 && < 1.1,
184test-suite verify-terminal
185 default-language: Haskell2010
186 default-extensions: ScopedTypeVariables
192 test-module: VerifyOutput
194 other-modules: Verify
195 Verify.Graphics.Vty.Attributes
196 Verify.Graphics.Vty.Prelude
197 Verify.Graphics.Vty.Picture
198 Verify.Graphics.Vty.Image
199 Verify.Graphics.Vty.Span
200 Verify.Graphics.Vty.Output
205 random >= 1.0 && < 1.2,
209 deepseq >= 1.1 && < 1.5,
210 mtl >= 1.1.1.0 && < 2.3,
211 terminfo >= 0.3 && < 0.5,
214 utf8-string >= 0.3 && < 1.1,
217test-suite verify-display-attributes
218 default-language: Haskell2010
219 default-extensions: ScopedTypeVariables
225 test-module: VerifyDisplayAttributes
227 other-modules: Verify
228 Verify.Graphics.Vty.Attributes
229 Verify.Graphics.Vty.DisplayAttributes
230 Verify.Graphics.Vty.Prelude
231 Verify.Graphics.Vty.Picture
232 Verify.Graphics.Vty.Image
233 Verify.Graphics.Vty.Span
238 random >= 1.0 && < 1.2,
242 deepseq >= 1.1 && < 1.5,
243 mtl >= 1.1.1.0 && < 2.3,
246 utf8-string >= 0.3 && < 1.1,
249test-suite verify-empty-image-props
250 default-language: Haskell2010
251 default-extensions: ScopedTypeVariables
257 test-module: VerifyEmptyImageProps
259 other-modules: Verify
264 random >= 1.0 && < 1.2,
268 deepseq >= 1.1 && < 1.5,
269 mtl >= 1.1.1.0 && < 2.3,
272 utf8-string >= 0.3 && < 1.1,
275test-suite verify-eval-terminfo-caps
276 default-language: Haskell2010
277 default-extensions: ScopedTypeVariables
283 test-module: VerifyEvalTerminfoCaps
285 other-modules: Verify
286 Verify.Graphics.Vty.Output
291 random >= 1.0 && < 1.2,
293 blaze-builder >= 0.3.3.2 && < 0.5,
296 deepseq >= 1.1 && < 1.5,
297 mtl >= 1.1.1.0 && < 2.3,
298 terminfo >= 0.3 && < 0.5,
301 utf8-string >= 0.3 && < 1.1,
304test-suite verify-image-ops
305 default-language: Haskell2010
306 default-extensions: ScopedTypeVariables
312 test-module: VerifyImageOps
314 other-modules: Verify
315 Verify.Graphics.Vty.Attributes
316 Verify.Graphics.Vty.Image
321 random >= 1.0 && < 1.2,
325 deepseq >= 1.1 && < 1.5,
326 mtl >= 1.1.1.0 && < 2.3,
329 utf8-string >= 0.3 && < 1.1,
332test-suite verify-image-trans
333 default-language: Haskell2010
334 default-extensions: ScopedTypeVariables
340 test-module: VerifyImageTrans
342 other-modules: Verify
343 Verify.Graphics.Vty.Attributes
344 Verify.Graphics.Vty.Image
349 random >= 1.0 && < 1.2,
353 deepseq >= 1.1 && < 1.5,
354 mtl >= 1.1.1.0 && < 2.3,
357 utf8-string >= 0.3 && < 1.1,
360test-suite verify-inline
361 default-language: Haskell2010
362 default-extensions: ScopedTypeVariables
368 test-module: VerifyInline
370 other-modules: Verify
371 Verify.Graphics.Vty.Output
376 random >= 1.0 && < 1.2,
380 deepseq >= 1.1 && < 1.5,
381 mtl >= 1.1.1.0 && < 2.3,
384 utf8-string >= 0.3 && < 1.1,
387test-suite verify-parse-terminfo-caps
388 default-language: Haskell2010
389 default-extensions: ScopedTypeVariables
395 test-module: VerifyParseTerminfoCaps
397 other-modules: Verify
398 Verify.Data.Terminfo.Parse
399 Verify.Graphics.Vty.Output
404 random >= 1.0 && < 1.2,
408 deepseq >= 1.1 && < 1.5,
409 mtl >= 1.1.1.0 && < 2.3,
410 terminfo >= 0.3 && < 0.5,
413 utf8-string >= 0.3 && < 1.1,
416test-suite verify-simple-span-generation
417 default-language: Haskell2010
418 default-extensions: ScopedTypeVariables
424 test-module: VerifySimpleSpanGeneration
426 other-modules: Verify
427 Verify.Graphics.Vty.Attributes
428 Verify.Graphics.Vty.Prelude
429 Verify.Graphics.Vty.Picture
430 Verify.Graphics.Vty.Image
431 Verify.Graphics.Vty.Span
436 random >= 1.0 && < 1.2,
440 deepseq >= 1.1 && < 1.5,
441 mtl >= 1.1.1.0 && < 2.3,
444 utf8-string >= 0.3 && < 1.1,
448test-suite verify-crop-span-generation
449 default-language: Haskell2010
450 default-extensions: ScopedTypeVariables
456 test-module: VerifyCropSpanGeneration
458 other-modules: Verify
459 Verify.Graphics.Vty.Attributes
460 Verify.Graphics.Vty.Prelude
461 Verify.Graphics.Vty.Picture
462 Verify.Graphics.Vty.Image
463 Verify.Graphics.Vty.Span
468 random >= 1.0 && < 1.2,
472 deepseq >= 1.1 && < 1.5,
473 mtl >= 1.1.1.0 && < 2.3,
476 utf8-string >= 0.3 && < 1.1,
480test-suite verify-layers-span-generation
481 default-language: Haskell2010
482 default-extensions: ScopedTypeVariables
488 test-module: VerifyLayersSpanGeneration
490 other-modules: Verify
491 Verify.Graphics.Vty.Attributes
492 Verify.Graphics.Vty.Prelude
493 Verify.Graphics.Vty.Picture
494 Verify.Graphics.Vty.Image
495 Verify.Graphics.Vty.Span
500 random >= 1.0 && < 1.2,
504 deepseq >= 1.1 && < 1.5,
505 mtl >= 1.1.1.0 && < 2.3,
508 utf8-string >= 0.3 && < 1.1,
511test-suite verify-utf8-width
512 default-language: Haskell2010
513 default-extensions: ScopedTypeVariables
519 test-module: VerifyUtf8Width
521 other-modules: Verify
526 random >= 1.0 && < 1.2,
530 deepseq >= 1.1 && < 1.5,
531 mtl >= 1.1.1.0 && < 2.3,
534 utf8-string >= 0.3 && < 1.1,
537test-suite verify-using-mock-input
538 default-language: Haskell2010
539 default-extensions: ScopedTypeVariables
541 type: exitcode-stdio-1.0
545 main-is: VerifyUsingMockInput.hs
551 quickcheck-assertions >= 0.1.1,
552 test-framework == 0.8.*,
553 test-framework-smallcheck == 0.2.*,
554 random >= 1.0 && < 1.2,
558 deepseq >= 1.1 && < 1.5,
561 mtl >= 1.1.1.0 && < 2.3,
563 terminfo >= 0.3 && < 0.5,
566 utf8-string >= 0.3 && < 1.1,
569 ghc-options: -threaded -Wall
571test-suite verify-config
572 default-language: Haskell2010
573 default-extensions: ScopedTypeVariables
575 type: exitcode-stdio-1.0
579 main-is: VerifyConfig.hs
586 quickcheck-assertions >= 0.1.1,
587 test-framework == 0.8.*,
588 test-framework-smallcheck == 0.2.*,
589 test-framework-hunit,
590 random >= 1.0 && < 1.2,
594 deepseq >= 1.1 && < 1.5,
597 mtl >= 1.1.1.0 && < 2.3,
599 terminfo >= 0.3 && < 0.5,
602 utf8-string >= 0.3 && < 1.1,
605 ghc-options: -threaded -Wall
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list