6maintainer: Jonathan Daugherty (cygnus@foobox.com)
7homepage: https://github.com/coreyoconnor/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 Included in the source distribution is a program
16 test/interactive_terminal_test.hs that demonstrates the various
19 Developers: See the "Graphics.Vty" module.
21 Users: See the "Graphics.Vty.Config" module.
23 If your terminal is not behaving as expected the results of the
24 vty-interactive-terminal-test executable should be sent to the Vty
25 maintainter to aid in debugging the issue.
27 Notable infelicities: Assumes UTF-8 character encoding support by the
28 terminal; Poor signal handling; Requires terminfo.
30 This project is hosted on github.com: <https://github.com/coreyoconnor/vty>
32 > git clone git://github.com/coreyoconnor/vty.git
34 © 2006-2007 Stefan O'Rear; BSD3 license.
36 © Corey O'Connor; BSD3 license.
44tested-with: GHC >= 7.6.2
48 location: https://github.com/coreyoconnor/vty.git
51 default-language: Haskell2010
52 build-depends: base >= 4 && < 5,
53 blaze-builder >= 0.3.3.2 && < 0.5,
56 data-default >= 0.5.3,
57 deepseq >= 1.1 && < 1.5,
59 filepath >= 1.0 && < 2.0,
63 -- required for nice installation with yi
65 mtl >= 1.1.1.0 && < 2.3,
66 parallel >= 2.2 && < 3.3,
69 terminfo >= 0.3 && < 0.5,
70 transformers >= 0.3.0.0,
73 utf8-string >= 0.3 && < 1.1,
76 exposed-modules: Graphics.Vty
77 Graphics.Vty.Attributes
82 Graphics.Vty.Inline.Unsafe
84 Graphics.Vty.Input.Events
89 -- the modules below are only meant to be used by the tests.
90 Codec.Binary.UTF8.Debug
94 Graphics.Vty.DisplayAttributes
95 Graphics.Vty.Image.Internal
96 Graphics.Vty.Input.Classify
97 Graphics.Vty.Input.Classify.Types
98 Graphics.Vty.Input.Classify.Parse
99 Graphics.Vty.Input.Loop
100 Graphics.Vty.Input.Mouse
101 Graphics.Vty.Input.Paste
102 Graphics.Vty.Input.Terminfo
103 Graphics.Vty.PictureToSpans
105 Graphics.Vty.Output.Mock
106 Graphics.Vty.Output.Interface
107 Graphics.Vty.Output.XTermColor
108 Graphics.Vty.Output.TerminfoBased
110 other-modules: Graphics.Vty.Attributes.Color
111 Graphics.Vty.Attributes.Color240
112 Graphics.Vty.Debug.Image
113 Graphics.Vty.Input.Terminfo.ANSIVT
115 c-sources: cbits/gwinsz.c
116 cbits/set_term_timing.c
123 default-extensions: ScopedTypeVariables
124 ForeignFunctionInterface
126 ghc-options: -O2 -funbox-strict-fields -Wall -fspec-constr -fspec-constr-count=10
128 ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr -fspec-constr-count=10
132executable vty-mode-demo
135 default-language: Haskell2010
136 default-extensions: ScopedTypeVariables
137 ghc-options: -threaded
142 data-default >= 0.5.3,
145 mtl >= 1.1.1.0 && < 2.3
150 default-language: Haskell2010
151 default-extensions: ScopedTypeVariables
152 ghc-options: -threaded
157 data-default >= 0.5.3,
160 mtl >= 1.1.1.0 && < 2.3
162test-suite verify-attribute-ops
163 default-language: Haskell2010
164 default-extensions: ScopedTypeVariables
167 test-module: VerifyAttributeOps
171 random >= 1.0 && < 1.2,
175 deepseq >= 1.1 && < 1.5,
176 mtl >= 1.1.1.0 && < 2.3,
179 utf8-string >= 0.3 && < 1.1,
182test-suite verify-using-mock-terminal
183 default-language: Haskell2010
184 default-extensions: ScopedTypeVariables
190 test-module: VerifyUsingMockTerminal
192 other-modules: Verify
193 Verify.Graphics.Vty.Attributes
194 Verify.Graphics.Vty.Prelude
195 Verify.Graphics.Vty.Picture
196 Verify.Graphics.Vty.Image
197 Verify.Graphics.Vty.Span
198 Verify.Graphics.Vty.Output
203 random >= 1.0 && < 1.2,
207 deepseq >= 1.1 && < 1.5,
208 mtl >= 1.1.1.0 && < 2.3,
210 terminfo >= 0.3 && < 0.5,
212 utf8-string >= 0.3 && < 1.1,
215test-suite verify-terminal
216 default-language: Haskell2010
217 default-extensions: ScopedTypeVariables
223 test-module: VerifyOutput
225 other-modules: Verify
226 Verify.Graphics.Vty.Attributes
227 Verify.Graphics.Vty.Prelude
228 Verify.Graphics.Vty.Picture
229 Verify.Graphics.Vty.Image
230 Verify.Graphics.Vty.Span
231 Verify.Graphics.Vty.Output
236 random >= 1.0 && < 1.2,
240 data-default >= 0.5.3,
241 deepseq >= 1.1 && < 1.5,
242 mtl >= 1.1.1.0 && < 2.3,
243 terminfo >= 0.3 && < 0.5,
246 utf8-string >= 0.3 && < 1.1,
249test-suite verify-display-attributes
250 default-language: Haskell2010
251 default-extensions: ScopedTypeVariables
257 test-module: VerifyDisplayAttributes
259 other-modules: Verify
260 Verify.Graphics.Vty.Attributes
261 Verify.Graphics.Vty.DisplayAttributes
262 Verify.Graphics.Vty.Prelude
263 Verify.Graphics.Vty.Picture
264 Verify.Graphics.Vty.Image
265 Verify.Graphics.Vty.Span
270 random >= 1.0 && < 1.2,
274 deepseq >= 1.1 && < 1.5,
275 mtl >= 1.1.1.0 && < 2.3,
278 utf8-string >= 0.3 && < 1.1,
281test-suite verify-empty-image-props
282 default-language: Haskell2010
283 default-extensions: ScopedTypeVariables
289 test-module: VerifyEmptyImageProps
291 other-modules: Verify
296 random >= 1.0 && < 1.2,
300 deepseq >= 1.1 && < 1.5,
301 mtl >= 1.1.1.0 && < 2.3,
304 utf8-string >= 0.3 && < 1.1,
307test-suite verify-eval-terminfo-caps
308 default-language: Haskell2010
309 default-extensions: ScopedTypeVariables
315 test-module: VerifyEvalTerminfoCaps
317 other-modules: Verify
318 Verify.Graphics.Vty.Output
323 random >= 1.0 && < 1.2,
325 blaze-builder >= 0.3.3.2 && < 0.5,
328 deepseq >= 1.1 && < 1.5,
329 mtl >= 1.1.1.0 && < 2.3,
330 terminfo >= 0.3 && < 0.5,
333 utf8-string >= 0.3 && < 1.1,
336test-suite verify-image-ops
337 default-language: Haskell2010
338 default-extensions: ScopedTypeVariables
344 test-module: VerifyImageOps
346 other-modules: Verify
347 Verify.Graphics.Vty.Attributes
348 Verify.Graphics.Vty.Image
353 random >= 1.0 && < 1.2,
357 deepseq >= 1.1 && < 1.5,
358 mtl >= 1.1.1.0 && < 2.3,
361 utf8-string >= 0.3 && < 1.1,
364test-suite verify-image-trans
365 default-language: Haskell2010
366 default-extensions: ScopedTypeVariables
372 test-module: VerifyImageTrans
374 other-modules: Verify
375 Verify.Graphics.Vty.Attributes
376 Verify.Graphics.Vty.Image
381 random >= 1.0 && < 1.2,
385 deepseq >= 1.1 && < 1.5,
386 mtl >= 1.1.1.0 && < 2.3,
389 utf8-string >= 0.3 && < 1.1,
392test-suite verify-inline
393 default-language: Haskell2010
394 default-extensions: ScopedTypeVariables
400 test-module: VerifyInline
402 other-modules: Verify
403 Verify.Graphics.Vty.Output
408 random >= 1.0 && < 1.2,
412 deepseq >= 1.1 && < 1.5,
413 mtl >= 1.1.1.0 && < 2.3,
416 utf8-string >= 0.3 && < 1.1,
419test-suite verify-parse-terminfo-caps
420 default-language: Haskell2010
421 default-extensions: ScopedTypeVariables
427 test-module: VerifyParseTerminfoCaps
429 other-modules: Verify
430 Verify.Data.Terminfo.Parse
431 Verify.Graphics.Vty.Output
436 random >= 1.0 && < 1.2,
440 deepseq >= 1.1 && < 1.5,
441 mtl >= 1.1.1.0 && < 2.3,
442 terminfo >= 0.3 && < 0.5,
445 utf8-string >= 0.3 && < 1.1,
448test-suite verify-simple-span-generation
449 default-language: Haskell2010
450 default-extensions: ScopedTypeVariables
456 test-module: VerifySimpleSpanGeneration
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-crop-span-generation
481 default-language: Haskell2010
482 default-extensions: ScopedTypeVariables
488 test-module: VerifyCropSpanGeneration
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,
512test-suite verify-layers-span-generation
513 default-language: Haskell2010
514 default-extensions: ScopedTypeVariables
520 test-module: VerifyLayersSpanGeneration
522 other-modules: Verify
523 Verify.Graphics.Vty.Attributes
524 Verify.Graphics.Vty.Prelude
525 Verify.Graphics.Vty.Picture
526 Verify.Graphics.Vty.Image
527 Verify.Graphics.Vty.Span
532 random >= 1.0 && < 1.2,
536 deepseq >= 1.1 && < 1.5,
537 mtl >= 1.1.1.0 && < 2.3,
540 utf8-string >= 0.3 && < 1.1,
543test-suite verify-utf8-width
544 default-language: Haskell2010
545 default-extensions: ScopedTypeVariables
551 test-module: VerifyUtf8Width
553 other-modules: Verify
558 random >= 1.0 && < 1.2,
562 deepseq >= 1.1 && < 1.5,
563 mtl >= 1.1.1.0 && < 2.3,
566 utf8-string >= 0.3 && < 1.1,
569test-suite verify-using-mock-input
570 default-language: Haskell2010
571 default-extensions: ScopedTypeVariables
573 type: exitcode-stdio-1.0
577 main-is: VerifyUsingMockInput.hs
581 data-default >= 0.5.3,
584 quickcheck-assertions >= 0.1.1,
585 test-framework == 0.8.*,
586 test-framework-smallcheck == 0.2.*,
587 random >= 1.0 && < 1.2,
591 deepseq >= 1.1 && < 1.5,
594 mtl >= 1.1.1.0 && < 2.3,
596 terminfo >= 0.3 && < 0.5,
599 utf8-string >= 0.3 && < 1.1,
602 ghc-options: -threaded -Wall
604test-suite verify-config
605 default-language: Haskell2010
606 default-extensions: ScopedTypeVariables
608 type: exitcode-stdio-1.0
612 main-is: VerifyConfig.hs
616 data-default >= 0.5.3,
620 quickcheck-assertions >= 0.1.1,
621 test-framework == 0.8.*,
622 test-framework-smallcheck == 0.2.*,
623 test-framework-hunit,
624 random >= 1.0 && < 1.2,
628 deepseq >= 1.1 && < 1.5,
631 mtl >= 1.1.1.0 && < 2.3,
633 terminfo >= 0.3 && < 0.5,
636 utf8-string >= 0.3 && < 1.1,
639 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