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
76 Graphics.Vty.Inline.Unsafe
78 Graphics.Vty.Input.Events
82 Codec.Binary.UTF8.Debug
86 Graphics.Vty.DisplayAttributes
87 Graphics.Vty.Image.Internal
88 Graphics.Vty.Input.Classify
89 Graphics.Vty.Input.Classify.Types
90 Graphics.Vty.Input.Classify.Parse
91 Graphics.Vty.Input.Loop
92 Graphics.Vty.Input.Mouse
93 Graphics.Vty.Input.Focus
94 Graphics.Vty.Input.Paste
95 Graphics.Vty.Input.Terminfo
96 Graphics.Vty.PictureToSpans
98 Graphics.Vty.Output.Mock
99 Graphics.Vty.Output.Interface
100 Graphics.Vty.Output.XTermColor
101 Graphics.Vty.Output.TerminfoBased
102 Graphics.Vty.UnicodeWidthTable.Types
103 Graphics.Vty.UnicodeWidthTable.IO
104 Graphics.Vty.UnicodeWidthTable.Query
105 Graphics.Vty.UnicodeWidthTable.Install
107 other-modules: Graphics.Vty.Attributes.Color240
108 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 default-extensions: ScopedTypeVariables
122 ghc-options: -O2 -funbox-strict-fields -Wall -fspec-constr -fspec-constr-count=10
124 ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr -fspec-constr-count=10
126executable vty-build-width-table
127 main-is: BuildWidthTable.hs
128 hs-source-dirs: tools
130 default-language: Haskell2010
131 ghc-options: -threaded -Wall
134 build-depends: semigroups >= 0.16
141executable vty-mode-demo
143 hs-source-dirs: demos
145 default-language: Haskell2010
146 default-extensions: ScopedTypeVariables
147 ghc-options: -threaded
154 mtl >= 1.1.1.0 && < 2.3
158 hs-source-dirs: demos
160 default-language: Haskell2010
161 default-extensions: ScopedTypeVariables
162 ghc-options: -threaded
169 mtl >= 1.1.1.0 && < 2.3
171test-suite verify-using-mock-terminal
172 default-language: Haskell2010
173 default-extensions: ScopedTypeVariables
179 test-module: VerifyUsingMockTerminal
181 other-modules: Verify
182 Verify.Graphics.Vty.Attributes
183 Verify.Graphics.Vty.Prelude
184 Verify.Graphics.Vty.Picture
185 Verify.Graphics.Vty.Image
186 Verify.Graphics.Vty.Span
187 Verify.Graphics.Vty.Output
192 random >= 1.0 && < 1.2,
196 deepseq >= 1.1 && < 1.5,
197 mtl >= 1.1.1.0 && < 2.3,
199 terminfo >= 0.3 && < 0.5,
201 utf8-string >= 0.3 && < 1.1,
204test-suite verify-terminal
205 default-language: Haskell2010
206 default-extensions: ScopedTypeVariables
212 test-module: VerifyOutput
214 other-modules: Verify
215 Verify.Graphics.Vty.Attributes
216 Verify.Graphics.Vty.Prelude
217 Verify.Graphics.Vty.Picture
218 Verify.Graphics.Vty.Image
219 Verify.Graphics.Vty.Span
220 Verify.Graphics.Vty.Output
225 random >= 1.0 && < 1.2,
229 deepseq >= 1.1 && < 1.5,
230 mtl >= 1.1.1.0 && < 2.3,
231 terminfo >= 0.3 && < 0.5,
234 utf8-string >= 0.3 && < 1.1,
237test-suite verify-display-attributes
238 default-language: Haskell2010
239 default-extensions: ScopedTypeVariables
245 test-module: VerifyDisplayAttributes
247 other-modules: Verify
248 Verify.Graphics.Vty.Attributes
249 Verify.Graphics.Vty.DisplayAttributes
250 Verify.Graphics.Vty.Prelude
251 Verify.Graphics.Vty.Picture
252 Verify.Graphics.Vty.Image
253 Verify.Graphics.Vty.Span
258 random >= 1.0 && < 1.2,
262 deepseq >= 1.1 && < 1.5,
263 mtl >= 1.1.1.0 && < 2.3,
266 utf8-string >= 0.3 && < 1.1,
269test-suite verify-empty-image-props
270 default-language: Haskell2010
271 default-extensions: ScopedTypeVariables
277 test-module: VerifyEmptyImageProps
279 other-modules: Verify
284 random >= 1.0 && < 1.2,
288 deepseq >= 1.1 && < 1.5,
289 mtl >= 1.1.1.0 && < 2.3,
292 utf8-string >= 0.3 && < 1.1,
295test-suite verify-eval-terminfo-caps
296 default-language: Haskell2010
297 default-extensions: ScopedTypeVariables
303 test-module: VerifyEvalTerminfoCaps
305 other-modules: Verify
306 Verify.Graphics.Vty.Output
311 random >= 1.0 && < 1.2,
313 blaze-builder >= 0.3.3.2 && < 0.5,
316 deepseq >= 1.1 && < 1.5,
317 mtl >= 1.1.1.0 && < 2.3,
318 terminfo >= 0.3 && < 0.5,
321 utf8-string >= 0.3 && < 1.1,
324test-suite verify-image-ops
325 default-language: Haskell2010
326 default-extensions: ScopedTypeVariables
332 test-module: VerifyImageOps
334 other-modules: Verify
335 Verify.Graphics.Vty.Attributes
336 Verify.Graphics.Vty.Image
341 random >= 1.0 && < 1.2,
345 deepseq >= 1.1 && < 1.5,
346 mtl >= 1.1.1.0 && < 2.3,
349 utf8-string >= 0.3 && < 1.1,
352test-suite verify-image-trans
353 default-language: Haskell2010
354 default-extensions: ScopedTypeVariables
360 test-module: VerifyImageTrans
362 other-modules: Verify
363 Verify.Graphics.Vty.Attributes
364 Verify.Graphics.Vty.Image
369 random >= 1.0 && < 1.2,
373 deepseq >= 1.1 && < 1.5,
374 mtl >= 1.1.1.0 && < 2.3,
377 utf8-string >= 0.3 && < 1.1,
380test-suite verify-inline
381 default-language: Haskell2010
382 default-extensions: ScopedTypeVariables
388 test-module: VerifyInline
390 other-modules: Verify
391 Verify.Graphics.Vty.Output
396 random >= 1.0 && < 1.2,
400 deepseq >= 1.1 && < 1.5,
401 mtl >= 1.1.1.0 && < 2.3,
404 utf8-string >= 0.3 && < 1.1,
407test-suite verify-parse-terminfo-caps
408 default-language: Haskell2010
409 default-extensions: ScopedTypeVariables
415 test-module: VerifyParseTerminfoCaps
417 other-modules: Verify
418 Verify.Data.Terminfo.Parse
419 Verify.Graphics.Vty.Output
424 random >= 1.0 && < 1.2,
428 deepseq >= 1.1 && < 1.5,
429 mtl >= 1.1.1.0 && < 2.3,
430 terminfo >= 0.3 && < 0.5,
433 utf8-string >= 0.3 && < 1.1,
436test-suite verify-simple-span-generation
437 default-language: Haskell2010
438 default-extensions: ScopedTypeVariables
444 test-module: VerifySimpleSpanGeneration
446 other-modules: Verify
447 Verify.Graphics.Vty.Attributes
448 Verify.Graphics.Vty.Prelude
449 Verify.Graphics.Vty.Picture
450 Verify.Graphics.Vty.Image
451 Verify.Graphics.Vty.Span
456 random >= 1.0 && < 1.2,
460 deepseq >= 1.1 && < 1.5,
461 mtl >= 1.1.1.0 && < 2.3,
464 utf8-string >= 0.3 && < 1.1,
468test-suite verify-crop-span-generation
469 default-language: Haskell2010
470 default-extensions: ScopedTypeVariables
476 test-module: VerifyCropSpanGeneration
478 other-modules: Verify
479 Verify.Graphics.Vty.Attributes
480 Verify.Graphics.Vty.Prelude
481 Verify.Graphics.Vty.Picture
482 Verify.Graphics.Vty.Image
483 Verify.Graphics.Vty.Span
488 random >= 1.0 && < 1.2,
492 deepseq >= 1.1 && < 1.5,
493 mtl >= 1.1.1.0 && < 2.3,
496 utf8-string >= 0.3 && < 1.1,
500test-suite verify-layers-span-generation
501 default-language: Haskell2010
502 default-extensions: ScopedTypeVariables
508 test-module: VerifyLayersSpanGeneration
510 other-modules: Verify
511 Verify.Graphics.Vty.Attributes
512 Verify.Graphics.Vty.Prelude
513 Verify.Graphics.Vty.Picture
514 Verify.Graphics.Vty.Image
515 Verify.Graphics.Vty.Span
520 random >= 1.0 && < 1.2,
524 deepseq >= 1.1 && < 1.5,
525 mtl >= 1.1.1.0 && < 2.3,
528 utf8-string >= 0.3 && < 1.1,
531test-suite verify-utf8-width
532 default-language: Haskell2010
533 default-extensions: ScopedTypeVariables
539 test-module: VerifyUtf8Width
541 other-modules: Verify
546 random >= 1.0 && < 1.2,
550 deepseq >= 1.1 && < 1.5,
551 mtl >= 1.1.1.0 && < 2.3,
554 utf8-string >= 0.3 && < 1.1,
557test-suite verify-using-mock-input
558 default-language: Haskell2010
559 default-extensions: ScopedTypeVariables
561 type: exitcode-stdio-1.0
565 main-is: VerifyUsingMockInput.hs
571 quickcheck-assertions >= 0.1.1,
572 test-framework == 0.8.*,
573 test-framework-smallcheck == 0.2.*,
574 random >= 1.0 && < 1.2,
578 deepseq >= 1.1 && < 1.5,
581 mtl >= 1.1.1.0 && < 2.3,
583 terminfo >= 0.3 && < 0.5,
586 utf8-string >= 0.3 && < 1.1,
589 ghc-options: -threaded -Wall
591test-suite verify-config
592 default-language: Haskell2010
593 default-extensions: ScopedTypeVariables
595 type: exitcode-stdio-1.0
599 main-is: VerifyConfig.hs
606 quickcheck-assertions >= 0.1.1,
607 test-framework == 0.8.*,
608 test-framework-smallcheck == 0.2.*,
609 test-framework-hunit,
610 random >= 1.0 && < 1.2,
614 deepseq >= 1.1 && < 1.5,
617 mtl >= 1.1.1.0 && < 2.3,
619 terminfo >= 0.3 && < 0.5,
622 utf8-string >= 0.3 && < 1.1,
625 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