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, GHC==8.6.5
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,
52 mtl >= 1.1.1.0 && < 2.3,
53 parallel >= 2.2 && < 3.3,
56 terminfo >= 0.3 && < 0.5,
57 transformers >= 0.3.0.0,
60 utf8-string >= 0.3 && < 1.1,
63 ansi-terminal >= 0.10.3
66 build-depends: semigroups >= 0.16,
69 exposed-modules: Graphics.Vty
70 Graphics.Vty.Attributes
71 Graphics.Vty.Attributes.Color
72 Graphics.Vty.Attributes.Color240
77 Graphics.Vty.Inline.Unsafe
79 Graphics.Vty.Input.Events
83 Codec.Binary.UTF8.Debug
87 Graphics.Vty.DisplayAttributes
88 Graphics.Vty.Image.Internal
89 Graphics.Vty.Input.Classify
90 Graphics.Vty.Input.Classify.Types
91 Graphics.Vty.Input.Classify.Parse
92 Graphics.Vty.Input.Loop
93 Graphics.Vty.Input.Mouse
94 Graphics.Vty.Input.Focus
95 Graphics.Vty.Input.Paste
96 Graphics.Vty.Input.Terminfo
97 Graphics.Vty.PictureToSpans
99 Graphics.Vty.Output.Mock
100 Graphics.Vty.Output.Interface
101 Graphics.Vty.Output.XTermColor
102 Graphics.Vty.Output.TerminfoBased
103 Graphics.Vty.UnicodeWidthTable.Types
104 Graphics.Vty.UnicodeWidthTable.IO
105 Graphics.Vty.UnicodeWidthTable.Query
106 Graphics.Vty.UnicodeWidthTable.Install
108 other-modules: Graphics.Vty.Debug.Image
109 Graphics.Vty.Input.Terminfo.ANSIVT
111 c-sources: cbits/gwinsz.c
112 cbits/set_term_timing.c
113 cbits/get_tty_erase.c
120 ghc-options: -O2 -funbox-strict-fields -Wall -fspec-constr -fspec-constr-count=10
122 ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr -fspec-constr-count=10
124executable vty-build-width-table
125 main-is: BuildWidthTable.hs
126 hs-source-dirs: tools
128 default-language: Haskell2010
129 ghc-options: -threaded -Wall
132 build-depends: semigroups >= 0.16
139executable vty-mode-demo
141 hs-source-dirs: demos
143 default-language: Haskell2010
144 ghc-options: -threaded
151 mtl >= 1.1.1.0 && < 2.3
155 hs-source-dirs: demos
157 default-language: Haskell2010
158 ghc-options: -threaded
165 mtl >= 1.1.1.0 && < 2.3
167test-suite verify-using-mock-terminal
168 default-language: Haskell2010
174 test-module: VerifyUsingMockTerminal
176 other-modules: Verify
177 Verify.Graphics.Vty.Attributes
178 Verify.Graphics.Vty.Prelude
179 Verify.Graphics.Vty.Picture
180 Verify.Graphics.Vty.Image
181 Verify.Graphics.Vty.Span
182 Verify.Graphics.Vty.Output
187 random >= 1.0 && < 1.3,
191 deepseq >= 1.1 && < 1.5,
192 mtl >= 1.1.1.0 && < 2.3,
194 terminfo >= 0.3 && < 0.5,
196 utf8-string >= 0.3 && < 1.1,
199test-suite verify-terminal
200 default-language: Haskell2010
206 test-module: VerifyOutput
208 other-modules: Verify
209 Verify.Graphics.Vty.Attributes
210 Verify.Graphics.Vty.Prelude
211 Verify.Graphics.Vty.Picture
212 Verify.Graphics.Vty.Image
213 Verify.Graphics.Vty.Span
214 Verify.Graphics.Vty.Output
219 random >= 1.0 && < 1.3,
223 deepseq >= 1.1 && < 1.5,
224 mtl >= 1.1.1.0 && < 2.3,
225 terminfo >= 0.3 && < 0.5,
228 utf8-string >= 0.3 && < 1.1,
231test-suite verify-display-attributes
232 default-language: Haskell2010
238 test-module: VerifyDisplayAttributes
240 other-modules: Verify
241 Verify.Graphics.Vty.Attributes
242 Verify.Graphics.Vty.DisplayAttributes
243 Verify.Graphics.Vty.Prelude
244 Verify.Graphics.Vty.Picture
245 Verify.Graphics.Vty.Image
246 Verify.Graphics.Vty.Span
251 random >= 1.0 && < 1.3,
255 deepseq >= 1.1 && < 1.5,
256 mtl >= 1.1.1.0 && < 2.3,
259 utf8-string >= 0.3 && < 1.1,
262test-suite verify-empty-image-props
263 default-language: Haskell2010
269 test-module: VerifyEmptyImageProps
271 other-modules: Verify
276 random >= 1.0 && < 1.3,
280 deepseq >= 1.1 && < 1.5,
281 mtl >= 1.1.1.0 && < 2.3,
284 utf8-string >= 0.3 && < 1.1,
287test-suite verify-eval-terminfo-caps
288 default-language: Haskell2010
294 test-module: VerifyEvalTerminfoCaps
296 other-modules: Verify
297 Verify.Graphics.Vty.Output
302 random >= 1.0 && < 1.3,
304 blaze-builder >= 0.3.3.2 && < 0.5,
307 deepseq >= 1.1 && < 1.5,
308 mtl >= 1.1.1.0 && < 2.3,
309 terminfo >= 0.3 && < 0.5,
312 utf8-string >= 0.3 && < 1.1,
315test-suite verify-image-ops
316 default-language: Haskell2010
322 test-module: VerifyImageOps
324 other-modules: Verify
325 Verify.Graphics.Vty.Attributes
326 Verify.Graphics.Vty.Image
331 random >= 1.0 && < 1.3,
335 deepseq >= 1.1 && < 1.5,
336 mtl >= 1.1.1.0 && < 2.3,
339 utf8-string >= 0.3 && < 1.1,
342test-suite verify-image-trans
343 default-language: Haskell2010
349 test-module: VerifyImageTrans
351 other-modules: Verify
352 Verify.Graphics.Vty.Attributes
353 Verify.Graphics.Vty.Image
358 random >= 1.0 && < 1.3,
362 deepseq >= 1.1 && < 1.5,
363 mtl >= 1.1.1.0 && < 2.3,
366 utf8-string >= 0.3 && < 1.1,
369test-suite verify-inline
370 default-language: Haskell2010
376 test-module: VerifyInline
378 other-modules: Verify
379 Verify.Graphics.Vty.Output
384 random >= 1.0 && < 1.3,
388 deepseq >= 1.1 && < 1.5,
389 mtl >= 1.1.1.0 && < 2.3,
392 utf8-string >= 0.3 && < 1.1,
395test-suite verify-parse-terminfo-caps
396 default-language: Haskell2010
402 test-module: VerifyParseTerminfoCaps
404 other-modules: Verify
405 Verify.Data.Terminfo.Parse
406 Verify.Graphics.Vty.Output
411 random >= 1.0 && < 1.3,
415 deepseq >= 1.1 && < 1.5,
416 mtl >= 1.1.1.0 && < 2.3,
417 terminfo >= 0.3 && < 0.5,
420 utf8-string >= 0.3 && < 1.1,
423test-suite verify-simple-span-generation
424 default-language: Haskell2010
430 test-module: VerifySimpleSpanGeneration
432 other-modules: Verify
433 Verify.Graphics.Vty.Attributes
434 Verify.Graphics.Vty.Prelude
435 Verify.Graphics.Vty.Picture
436 Verify.Graphics.Vty.Image
437 Verify.Graphics.Vty.Span
442 random >= 1.0 && < 1.3,
446 deepseq >= 1.1 && < 1.5,
447 mtl >= 1.1.1.0 && < 2.3,
450 utf8-string >= 0.3 && < 1.1,
454test-suite verify-crop-span-generation
455 default-language: Haskell2010
461 test-module: VerifyCropSpanGeneration
463 other-modules: Verify
464 Verify.Graphics.Vty.Attributes
465 Verify.Graphics.Vty.Prelude
466 Verify.Graphics.Vty.Picture
467 Verify.Graphics.Vty.Image
468 Verify.Graphics.Vty.Span
473 random >= 1.0 && < 1.3,
477 deepseq >= 1.1 && < 1.5,
478 mtl >= 1.1.1.0 && < 2.3,
481 utf8-string >= 0.3 && < 1.1,
485test-suite verify-layers-span-generation
486 default-language: Haskell2010
492 test-module: VerifyLayersSpanGeneration
494 other-modules: Verify
495 Verify.Graphics.Vty.Attributes
496 Verify.Graphics.Vty.Prelude
497 Verify.Graphics.Vty.Picture
498 Verify.Graphics.Vty.Image
499 Verify.Graphics.Vty.Span
504 random >= 1.0 && < 1.3,
508 deepseq >= 1.1 && < 1.5,
509 mtl >= 1.1.1.0 && < 2.3,
512 utf8-string >= 0.3 && < 1.1,
515test-suite verify-color-mapping
516 default-language: Haskell2010
522 test-module: VerifyColor240
524 other-modules: Verify
529 random >= 1.0 && < 1.3,
533 deepseq >= 1.1 && < 1.5,
534 mtl >= 1.1.1.0 && < 2.3,
537 utf8-string >= 0.3 && < 1.1,
540test-suite verify-utf8-width
541 default-language: Haskell2010
547 test-module: VerifyUtf8Width
549 other-modules: Verify
554 random >= 1.0 && < 1.3,
558 deepseq >= 1.1 && < 1.5,
559 mtl >= 1.1.1.0 && < 2.3,
562 utf8-string >= 0.3 && < 1.1,
565test-suite verify-using-mock-input
566 default-language: Haskell2010
568 type: exitcode-stdio-1.0
572 main-is: VerifyUsingMockInput.hs
574 other-modules: Verify.Graphics.Vty.Output
580 quickcheck-assertions >= 0.1.1,
581 test-framework == 0.8.*,
582 test-framework-smallcheck == 0.2.*,
583 random >= 1.0 && < 1.3,
587 deepseq >= 1.1 && < 1.5,
590 mtl >= 1.1.1.0 && < 2.3,
592 terminfo >= 0.3 && < 0.5,
595 utf8-string >= 0.3 && < 1.1,
598 ghc-options: -threaded -Wall
600test-suite verify-config
601 default-language: Haskell2010
603 type: exitcode-stdio-1.0
607 main-is: VerifyConfig.hs
614 quickcheck-assertions >= 0.1.1,
615 test-framework == 0.8.*,
616 test-framework-smallcheck == 0.2.*,
617 test-framework-hunit,
618 random >= 1.0 && < 1.3,
622 deepseq >= 1.1 && < 1.5,
625 mtl >= 1.1.1.0 && < 2.3,
627 terminfo >= 0.3 && < 0.5,
630 utf8-string >= 0.3 && < 1.1,
633 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