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.6.2
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,
64 exposed-modules: Graphics.Vty
65 Graphics.Vty.Attributes
70 Graphics.Vty.Inline.Unsafe
72 Graphics.Vty.Input.Events
76 -- the modules below are only meant to be used by the tests.
77 Codec.Binary.UTF8.Debug
81 Graphics.Vty.DisplayAttributes
82 Graphics.Vty.Image.Internal
83 Graphics.Vty.Input.Classify
84 Graphics.Vty.Input.Classify.Types
85 Graphics.Vty.Input.Classify.Parse
86 Graphics.Vty.Input.Loop
87 Graphics.Vty.Input.Mouse
88 Graphics.Vty.Input.Focus
89 Graphics.Vty.Input.Paste
90 Graphics.Vty.Input.Terminfo
91 Graphics.Vty.PictureToSpans
93 Graphics.Vty.Output.Mock
94 Graphics.Vty.Output.Interface
95 Graphics.Vty.Output.XTermColor
96 Graphics.Vty.Output.TerminfoBased
98 other-modules: Graphics.Vty.Attributes.Color
99 Graphics.Vty.Attributes.Color240
100 Graphics.Vty.Debug.Image
101 Graphics.Vty.Input.Terminfo.ANSIVT
103 c-sources: cbits/gwinsz.c
104 cbits/set_term_timing.c
111 default-extensions: ScopedTypeVariables
112 ForeignFunctionInterface
114 ghc-options: -O2 -funbox-strict-fields -Wall -fspec-constr -fspec-constr-count=10
116 ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr -fspec-constr-count=10
120executable vty-mode-demo
122 hs-source-dirs: demos
124 default-language: Haskell2010
125 default-extensions: ScopedTypeVariables
126 ghc-options: -threaded
133 mtl >= 1.1.1.0 && < 2.3
137 hs-source-dirs: demos
139 default-language: Haskell2010
140 default-extensions: ScopedTypeVariables
141 ghc-options: -threaded
148 mtl >= 1.1.1.0 && < 2.3
150test-suite verify-attribute-ops
151 default-language: Haskell2010
152 default-extensions: ScopedTypeVariables
155 test-module: VerifyAttributeOps
159 random >= 1.0 && < 1.2,
163 deepseq >= 1.1 && < 1.5,
164 mtl >= 1.1.1.0 && < 2.3,
167 utf8-string >= 0.3 && < 1.1,
170test-suite verify-using-mock-terminal
171 default-language: Haskell2010
172 default-extensions: ScopedTypeVariables
178 test-module: VerifyUsingMockTerminal
180 other-modules: Verify
181 Verify.Graphics.Vty.Attributes
182 Verify.Graphics.Vty.Prelude
183 Verify.Graphics.Vty.Picture
184 Verify.Graphics.Vty.Image
185 Verify.Graphics.Vty.Span
186 Verify.Graphics.Vty.Output
191 random >= 1.0 && < 1.2,
195 deepseq >= 1.1 && < 1.5,
196 mtl >= 1.1.1.0 && < 2.3,
198 terminfo >= 0.3 && < 0.5,
200 utf8-string >= 0.3 && < 1.1,
203test-suite verify-terminal
204 default-language: Haskell2010
205 default-extensions: ScopedTypeVariables
211 test-module: VerifyOutput
213 other-modules: Verify
214 Verify.Graphics.Vty.Attributes
215 Verify.Graphics.Vty.Prelude
216 Verify.Graphics.Vty.Picture
217 Verify.Graphics.Vty.Image
218 Verify.Graphics.Vty.Span
219 Verify.Graphics.Vty.Output
224 random >= 1.0 && < 1.2,
228 deepseq >= 1.1 && < 1.5,
229 mtl >= 1.1.1.0 && < 2.3,
230 terminfo >= 0.3 && < 0.5,
233 utf8-string >= 0.3 && < 1.1,
236test-suite verify-display-attributes
237 default-language: Haskell2010
238 default-extensions: ScopedTypeVariables
244 test-module: VerifyDisplayAttributes
246 other-modules: Verify
247 Verify.Graphics.Vty.Attributes
248 Verify.Graphics.Vty.DisplayAttributes
249 Verify.Graphics.Vty.Prelude
250 Verify.Graphics.Vty.Picture
251 Verify.Graphics.Vty.Image
252 Verify.Graphics.Vty.Span
257 random >= 1.0 && < 1.2,
261 deepseq >= 1.1 && < 1.5,
262 mtl >= 1.1.1.0 && < 2.3,
265 utf8-string >= 0.3 && < 1.1,
268test-suite verify-empty-image-props
269 default-language: Haskell2010
270 default-extensions: ScopedTypeVariables
276 test-module: VerifyEmptyImageProps
278 other-modules: Verify
283 random >= 1.0 && < 1.2,
287 deepseq >= 1.1 && < 1.5,
288 mtl >= 1.1.1.0 && < 2.3,
291 utf8-string >= 0.3 && < 1.1,
294test-suite verify-eval-terminfo-caps
295 default-language: Haskell2010
296 default-extensions: ScopedTypeVariables
302 test-module: VerifyEvalTerminfoCaps
304 other-modules: Verify
305 Verify.Graphics.Vty.Output
310 random >= 1.0 && < 1.2,
312 blaze-builder >= 0.3.3.2 && < 0.5,
315 deepseq >= 1.1 && < 1.5,
316 mtl >= 1.1.1.0 && < 2.3,
317 terminfo >= 0.3 && < 0.5,
320 utf8-string >= 0.3 && < 1.1,
323test-suite verify-image-ops
324 default-language: Haskell2010
325 default-extensions: ScopedTypeVariables
331 test-module: VerifyImageOps
333 other-modules: Verify
334 Verify.Graphics.Vty.Attributes
335 Verify.Graphics.Vty.Image
340 random >= 1.0 && < 1.2,
344 deepseq >= 1.1 && < 1.5,
345 mtl >= 1.1.1.0 && < 2.3,
348 utf8-string >= 0.3 && < 1.1,
351test-suite verify-image-trans
352 default-language: Haskell2010
353 default-extensions: ScopedTypeVariables
359 test-module: VerifyImageTrans
361 other-modules: Verify
362 Verify.Graphics.Vty.Attributes
363 Verify.Graphics.Vty.Image
368 random >= 1.0 && < 1.2,
372 deepseq >= 1.1 && < 1.5,
373 mtl >= 1.1.1.0 && < 2.3,
376 utf8-string >= 0.3 && < 1.1,
379test-suite verify-inline
380 default-language: Haskell2010
381 default-extensions: ScopedTypeVariables
387 test-module: VerifyInline
389 other-modules: Verify
390 Verify.Graphics.Vty.Output
395 random >= 1.0 && < 1.2,
399 deepseq >= 1.1 && < 1.5,
400 mtl >= 1.1.1.0 && < 2.3,
403 utf8-string >= 0.3 && < 1.1,
406test-suite verify-parse-terminfo-caps
407 default-language: Haskell2010
408 default-extensions: ScopedTypeVariables
414 test-module: VerifyParseTerminfoCaps
416 other-modules: Verify
417 Verify.Data.Terminfo.Parse
418 Verify.Graphics.Vty.Output
423 random >= 1.0 && < 1.2,
427 deepseq >= 1.1 && < 1.5,
428 mtl >= 1.1.1.0 && < 2.3,
429 terminfo >= 0.3 && < 0.5,
432 utf8-string >= 0.3 && < 1.1,
435test-suite verify-simple-span-generation
436 default-language: Haskell2010
437 default-extensions: ScopedTypeVariables
443 test-module: VerifySimpleSpanGeneration
445 other-modules: Verify
446 Verify.Graphics.Vty.Attributes
447 Verify.Graphics.Vty.Prelude
448 Verify.Graphics.Vty.Picture
449 Verify.Graphics.Vty.Image
450 Verify.Graphics.Vty.Span
455 random >= 1.0 && < 1.2,
459 deepseq >= 1.1 && < 1.5,
460 mtl >= 1.1.1.0 && < 2.3,
463 utf8-string >= 0.3 && < 1.1,
467test-suite verify-crop-span-generation
468 default-language: Haskell2010
469 default-extensions: ScopedTypeVariables
475 test-module: VerifyCropSpanGeneration
477 other-modules: Verify
478 Verify.Graphics.Vty.Attributes
479 Verify.Graphics.Vty.Prelude
480 Verify.Graphics.Vty.Picture
481 Verify.Graphics.Vty.Image
482 Verify.Graphics.Vty.Span
487 random >= 1.0 && < 1.2,
491 deepseq >= 1.1 && < 1.5,
492 mtl >= 1.1.1.0 && < 2.3,
495 utf8-string >= 0.3 && < 1.1,
499test-suite verify-layers-span-generation
500 default-language: Haskell2010
501 default-extensions: ScopedTypeVariables
507 test-module: VerifyLayersSpanGeneration
509 other-modules: Verify
510 Verify.Graphics.Vty.Attributes
511 Verify.Graphics.Vty.Prelude
512 Verify.Graphics.Vty.Picture
513 Verify.Graphics.Vty.Image
514 Verify.Graphics.Vty.Span
519 random >= 1.0 && < 1.2,
523 deepseq >= 1.1 && < 1.5,
524 mtl >= 1.1.1.0 && < 2.3,
527 utf8-string >= 0.3 && < 1.1,
530test-suite verify-utf8-width
531 default-language: Haskell2010
532 default-extensions: ScopedTypeVariables
538 test-module: VerifyUtf8Width
540 other-modules: Verify
545 random >= 1.0 && < 1.2,
549 deepseq >= 1.1 && < 1.5,
550 mtl >= 1.1.1.0 && < 2.3,
553 utf8-string >= 0.3 && < 1.1,
556test-suite verify-using-mock-input
557 default-language: Haskell2010
558 default-extensions: ScopedTypeVariables
560 type: exitcode-stdio-1.0
564 main-is: VerifyUsingMockInput.hs
570 quickcheck-assertions >= 0.1.1,
571 test-framework == 0.8.*,
572 test-framework-smallcheck == 0.2.*,
573 random >= 1.0 && < 1.2,
577 deepseq >= 1.1 && < 1.5,
580 mtl >= 1.1.1.0 && < 2.3,
582 terminfo >= 0.3 && < 0.5,
585 utf8-string >= 0.3 && < 1.1,
588 ghc-options: -threaded -Wall
590test-suite verify-config
591 default-language: Haskell2010
592 default-extensions: ScopedTypeVariables
594 type: exitcode-stdio-1.0
598 main-is: VerifyConfig.hs
605 quickcheck-assertions >= 0.1.1,
606 test-framework == 0.8.*,
607 test-framework-smallcheck == 0.2.*,
608 test-framework-hunit,
609 random >= 1.0 && < 1.2,
613 deepseq >= 1.1 && < 1.5,
616 mtl >= 1.1.1.0 && < 2.3,
618 terminfo >= 0.3 && < 0.5,
621 utf8-string >= 0.3 && < 1.1,
624 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