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,
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
123executable vty-mode-demo
125 hs-source-dirs: demos
127 default-language: Haskell2010
128 default-extensions: ScopedTypeVariables
129 ghc-options: -threaded
136 mtl >= 1.1.1.0 && < 2.3
140 hs-source-dirs: demos
142 default-language: Haskell2010
143 default-extensions: ScopedTypeVariables
144 ghc-options: -threaded
151 mtl >= 1.1.1.0 && < 2.3
153test-suite verify-attribute-ops
154 default-language: Haskell2010
155 default-extensions: ScopedTypeVariables
158 test-module: VerifyAttributeOps
162 random >= 1.0 && < 1.2,
166 deepseq >= 1.1 && < 1.5,
167 mtl >= 1.1.1.0 && < 2.3,
170 utf8-string >= 0.3 && < 1.1,
173test-suite verify-using-mock-terminal
174 default-language: Haskell2010
175 default-extensions: ScopedTypeVariables
181 test-module: VerifyUsingMockTerminal
183 other-modules: Verify
184 Verify.Graphics.Vty.Attributes
185 Verify.Graphics.Vty.Prelude
186 Verify.Graphics.Vty.Picture
187 Verify.Graphics.Vty.Image
188 Verify.Graphics.Vty.Span
189 Verify.Graphics.Vty.Output
194 random >= 1.0 && < 1.2,
198 deepseq >= 1.1 && < 1.5,
199 mtl >= 1.1.1.0 && < 2.3,
201 terminfo >= 0.3 && < 0.5,
203 utf8-string >= 0.3 && < 1.1,
206test-suite verify-terminal
207 default-language: Haskell2010
208 default-extensions: ScopedTypeVariables
214 test-module: VerifyOutput
216 other-modules: Verify
217 Verify.Graphics.Vty.Attributes
218 Verify.Graphics.Vty.Prelude
219 Verify.Graphics.Vty.Picture
220 Verify.Graphics.Vty.Image
221 Verify.Graphics.Vty.Span
222 Verify.Graphics.Vty.Output
227 random >= 1.0 && < 1.2,
231 deepseq >= 1.1 && < 1.5,
232 mtl >= 1.1.1.0 && < 2.3,
233 terminfo >= 0.3 && < 0.5,
236 utf8-string >= 0.3 && < 1.1,
239test-suite verify-display-attributes
240 default-language: Haskell2010
241 default-extensions: ScopedTypeVariables
247 test-module: VerifyDisplayAttributes
249 other-modules: Verify
250 Verify.Graphics.Vty.Attributes
251 Verify.Graphics.Vty.DisplayAttributes
252 Verify.Graphics.Vty.Prelude
253 Verify.Graphics.Vty.Picture
254 Verify.Graphics.Vty.Image
255 Verify.Graphics.Vty.Span
260 random >= 1.0 && < 1.2,
264 deepseq >= 1.1 && < 1.5,
265 mtl >= 1.1.1.0 && < 2.3,
268 utf8-string >= 0.3 && < 1.1,
271test-suite verify-empty-image-props
272 default-language: Haskell2010
273 default-extensions: ScopedTypeVariables
279 test-module: VerifyEmptyImageProps
281 other-modules: Verify
286 random >= 1.0 && < 1.2,
290 deepseq >= 1.1 && < 1.5,
291 mtl >= 1.1.1.0 && < 2.3,
294 utf8-string >= 0.3 && < 1.1,
297test-suite verify-eval-terminfo-caps
298 default-language: Haskell2010
299 default-extensions: ScopedTypeVariables
305 test-module: VerifyEvalTerminfoCaps
307 other-modules: Verify
308 Verify.Graphics.Vty.Output
313 random >= 1.0 && < 1.2,
315 blaze-builder >= 0.3.3.2 && < 0.5,
318 deepseq >= 1.1 && < 1.5,
319 mtl >= 1.1.1.0 && < 2.3,
320 terminfo >= 0.3 && < 0.5,
323 utf8-string >= 0.3 && < 1.1,
326test-suite verify-image-ops
327 default-language: Haskell2010
328 default-extensions: ScopedTypeVariables
334 test-module: VerifyImageOps
336 other-modules: Verify
337 Verify.Graphics.Vty.Attributes
338 Verify.Graphics.Vty.Image
343 random >= 1.0 && < 1.2,
347 deepseq >= 1.1 && < 1.5,
348 mtl >= 1.1.1.0 && < 2.3,
351 utf8-string >= 0.3 && < 1.1,
354test-suite verify-image-trans
355 default-language: Haskell2010
356 default-extensions: ScopedTypeVariables
362 test-module: VerifyImageTrans
364 other-modules: Verify
365 Verify.Graphics.Vty.Attributes
366 Verify.Graphics.Vty.Image
371 random >= 1.0 && < 1.2,
375 deepseq >= 1.1 && < 1.5,
376 mtl >= 1.1.1.0 && < 2.3,
379 utf8-string >= 0.3 && < 1.1,
382test-suite verify-inline
383 default-language: Haskell2010
384 default-extensions: ScopedTypeVariables
390 test-module: VerifyInline
392 other-modules: Verify
393 Verify.Graphics.Vty.Output
398 random >= 1.0 && < 1.2,
402 deepseq >= 1.1 && < 1.5,
403 mtl >= 1.1.1.0 && < 2.3,
406 utf8-string >= 0.3 && < 1.1,
409test-suite verify-parse-terminfo-caps
410 default-language: Haskell2010
411 default-extensions: ScopedTypeVariables
417 test-module: VerifyParseTerminfoCaps
419 other-modules: Verify
420 Verify.Data.Terminfo.Parse
421 Verify.Graphics.Vty.Output
426 random >= 1.0 && < 1.2,
430 deepseq >= 1.1 && < 1.5,
431 mtl >= 1.1.1.0 && < 2.3,
432 terminfo >= 0.3 && < 0.5,
435 utf8-string >= 0.3 && < 1.1,
438test-suite verify-simple-span-generation
439 default-language: Haskell2010
440 default-extensions: ScopedTypeVariables
446 test-module: VerifySimpleSpanGeneration
448 other-modules: Verify
449 Verify.Graphics.Vty.Attributes
450 Verify.Graphics.Vty.Prelude
451 Verify.Graphics.Vty.Picture
452 Verify.Graphics.Vty.Image
453 Verify.Graphics.Vty.Span
458 random >= 1.0 && < 1.2,
462 deepseq >= 1.1 && < 1.5,
463 mtl >= 1.1.1.0 && < 2.3,
466 utf8-string >= 0.3 && < 1.1,
470test-suite verify-crop-span-generation
471 default-language: Haskell2010
472 default-extensions: ScopedTypeVariables
478 test-module: VerifyCropSpanGeneration
480 other-modules: Verify
481 Verify.Graphics.Vty.Attributes
482 Verify.Graphics.Vty.Prelude
483 Verify.Graphics.Vty.Picture
484 Verify.Graphics.Vty.Image
485 Verify.Graphics.Vty.Span
490 random >= 1.0 && < 1.2,
494 deepseq >= 1.1 && < 1.5,
495 mtl >= 1.1.1.0 && < 2.3,
498 utf8-string >= 0.3 && < 1.1,
502test-suite verify-layers-span-generation
503 default-language: Haskell2010
504 default-extensions: ScopedTypeVariables
510 test-module: VerifyLayersSpanGeneration
512 other-modules: Verify
513 Verify.Graphics.Vty.Attributes
514 Verify.Graphics.Vty.Prelude
515 Verify.Graphics.Vty.Picture
516 Verify.Graphics.Vty.Image
517 Verify.Graphics.Vty.Span
522 random >= 1.0 && < 1.2,
526 deepseq >= 1.1 && < 1.5,
527 mtl >= 1.1.1.0 && < 2.3,
530 utf8-string >= 0.3 && < 1.1,
533test-suite verify-utf8-width
534 default-language: Haskell2010
535 default-extensions: ScopedTypeVariables
541 test-module: VerifyUtf8Width
543 other-modules: Verify
548 random >= 1.0 && < 1.2,
552 deepseq >= 1.1 && < 1.5,
553 mtl >= 1.1.1.0 && < 2.3,
556 utf8-string >= 0.3 && < 1.1,
559test-suite verify-using-mock-input
560 default-language: Haskell2010
561 default-extensions: ScopedTypeVariables
563 type: exitcode-stdio-1.0
567 main-is: VerifyUsingMockInput.hs
573 quickcheck-assertions >= 0.1.1,
574 test-framework == 0.8.*,
575 test-framework-smallcheck == 0.2.*,
576 random >= 1.0 && < 1.2,
580 deepseq >= 1.1 && < 1.5,
583 mtl >= 1.1.1.0 && < 2.3,
585 terminfo >= 0.3 && < 0.5,
588 utf8-string >= 0.3 && < 1.1,
591 ghc-options: -threaded -Wall
593test-suite verify-config
594 default-language: Haskell2010
595 default-extensions: ScopedTypeVariables
597 type: exitcode-stdio-1.0
601 main-is: VerifyConfig.hs
608 quickcheck-assertions >= 0.1.1,
609 test-framework == 0.8.*,
610 test-framework-smallcheck == 0.2.*,
611 test-framework-hunit,
612 random >= 1.0 && < 1.2,
616 deepseq >= 1.1 && < 1.5,
619 mtl >= 1.1.1.0 && < 2.3,
621 terminfo >= 0.3 && < 0.5,
624 utf8-string >= 0.3 && < 1.1,
627 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