@@ -55,7 +55,6 @@ library
56 exposed-modules: Graphics.Vty
56 exposed-modules: Graphics.Vty
57 Graphics.Vty.Attributes
57 Graphics.Vty.Attributes
58− Graphics.Vty.DisplayRegion
59 Graphics.Vty.Error
58 Graphics.Vty.Error
60 Graphics.Vty.Image
59 Graphics.Vty.Image
61 Graphics.Vty.Inline
60 Graphics.Vty.Inline
@@ -63,13 +62,19 @@ library
63 Graphics.Vty.Picture
62 Graphics.Vty.Picture
64 Graphics.Vty.Terminal
63 Graphics.Vty.Terminal
65 Graphics.Text.Width
64 Graphics.Text.Width
66−
65+ -- the modules below are only meant to be used by the tests.
67− other-modules: Data.Marshalling
66+ Codec.Binary.UTF8.Debug
68 Data.Terminfo.Parse
67 Data.Terminfo.Parse
69 Data.Terminfo.Eval
68 Data.Terminfo.Eval
71+ Graphics.Vty.Debug.Image
72+ Graphics.Vty.DisplayRegion
70 Graphics.Vty.DisplayAttributes
73 Graphics.Vty.DisplayAttributes
71 Graphics.Vty.Image.Internal
74 Graphics.Vty.Image.Internal
75+ Graphics.Vty.PictureToSpans
72 Graphics.Vty.Span
76 Graphics.Vty.Span
77+ Graphics.Vty.Terminal.Debug
73 Graphics.Vty.Terminal.Generic
78 Graphics.Vty.Terminal.Generic
74 Graphics.Vty.Terminal.MacOSX
79 Graphics.Vty.Terminal.MacOSX
75 Graphics.Vty.Terminal.XTermColor
80 Graphics.Vty.Terminal.XTermColor
@@ -92,9 +97,10 @@ library
92test-suite verify-attribute-ops
97test-suite verify-attribute-ops
93 default-language: Haskell2010
98 default-language: Haskell2010
94 type: detailed-0.9
99 type: detailed-0.9
95− hs-source-dirs: src test
100+ hs-source-dirs: test
96 test-module: VerifyAttributeOps
101 test-module: VerifyAttributeOps
97− build-depends: Cabal == 1.17.*,
102+ build-depends: vty,
98 QuickCheck >= 2.4,
104 QuickCheck >= 2.4,
99 random == 1.0.*,
105 random == 1.0.*,
100 base >= 4 && < 5,
106 base >= 4 && < 5,
@@ -111,44 +117,26 @@ test-suite verify-attribute-ops
112 utf8-string >= 0.3 && < 0.4,
118 utf8-string >= 0.3 && < 0.4,
113 vector >= 0.7
119 vector >= 0.7
115test-suite verify-using-mock-terminal
122test-suite verify-using-mock-terminal
116 default-language: Haskell2010
123 default-language: Haskell2010
118 type: detailed-0.9
125 type: detailed-0.9
120− hs-source-dirs: src test
127+ hs-source-dirs: test
122 test-module: VerifyMockTerminal
129 test-module: VerifyMockTerminal
124− other-modules: Graphics.Vty
131+ other-modules: Verify
125− Graphics.Vty.Attributes
126− Graphics.Vty.DisplayAttributes
127− Graphics.Vty.DisplayRegion
129− Graphics.Vty.Image.Internal
130− Graphics.Vty.Picture
132− Graphics.Vty.Terminal
133− Graphics.Vty.Terminal.Generic
134− Graphics.Vty.Terminal.Debug
136− Graphics.Vty.Debug.Image
139 Verify.Graphics.Vty.Attributes
132 Verify.Graphics.Vty.Attributes
140 Verify.Graphics.Vty.DisplayRegion
133 Verify.Graphics.Vty.DisplayRegion
141 Verify.Graphics.Vty.Picture
134 Verify.Graphics.Vty.Picture
142 Verify.Graphics.Vty.Image
135 Verify.Graphics.Vty.Image
143 Verify.Graphics.Vty.Span
136 Verify.Graphics.Vty.Span
145− c-sources: cbits/gwinsz.c
146− cbits/set_term_timing.c
151− build-depends: Cabal == 1.17.*,
138+ build-depends: vty,
152 QuickCheck >= 2.4,
140 QuickCheck >= 2.4,
153 random == 1.0.*,
141 random == 1.0.*,
154 base >= 4 && < 5,
142 base >= 4 && < 5,
@@ -165,44 +153,26 @@ test-suite verify-using-mock-terminal
166 utf8-string >= 0.3 && < 0.4,
154 utf8-string >= 0.3 && < 0.4,
167 vector >= 0.7
155 vector >= 0.7
169test-suite verify-display-attributes
158test-suite verify-display-attributes
170 default-language: Haskell2010
159 default-language: Haskell2010
172 type: detailed-0.9
161 type: detailed-0.9
174− hs-source-dirs: src test
163+ hs-source-dirs: test
176 test-module: VerifyDisplayAttributes
165 test-module: VerifyDisplayAttributes
178− other-modules: Graphics.Vty
167+ other-modules: Verify
179− Graphics.Vty.Attributes
180− Graphics.Vty.DisplayAttributes
181− Graphics.Vty.DisplayRegion
183− Graphics.Vty.Image.Internal
184− Graphics.Vty.Picture
186− Graphics.Vty.Terminal
187− Graphics.Vty.Terminal.Generic
188− Graphics.Vty.Terminal.Debug
190− Graphics.Vty.Debug.Image
193 Verify.Graphics.Vty.Attributes
168 Verify.Graphics.Vty.Attributes
194 Verify.Graphics.Vty.DisplayRegion
169 Verify.Graphics.Vty.DisplayRegion
195 Verify.Graphics.Vty.Picture
170 Verify.Graphics.Vty.Picture
196 Verify.Graphics.Vty.Image
171 Verify.Graphics.Vty.Image
197 Verify.Graphics.Vty.Span
172 Verify.Graphics.Vty.Span
199− c-sources: cbits/gwinsz.c
200− cbits/set_term_timing.c
205− build-depends: Cabal == 1.17.*,
174+ build-depends: vty,
206 QuickCheck >= 2.4,
176 QuickCheck >= 2.4,
207 random == 1.0.*,
177 random == 1.0.*,
208 base >= 4 && < 5,
178 base >= 4 && < 5,
@@ -219,20 +189,21 @@ test-suite verify-display-attributes
220 utf8-string >= 0.3 && < 0.4,
190 utf8-string >= 0.3 && < 0.4,
221 vector >= 0.7
191 vector >= 0.7
223test-suite verify-empty-image-props
194test-suite verify-empty-image-props
224 default-language: Haskell2010
195 default-language: Haskell2010
226 type: detailed-0.9
197 type: detailed-0.9
228− hs-source-dirs: src test
199+ hs-source-dirs: test
230 test-module: VerifyEmptyImageProps
201 test-module: VerifyEmptyImageProps
232− other-modules: Graphics.Vty.Picture
203+ other-modules: Verify
235− build-depends: Cabal == 1.17.*,
205+ build-depends: vty,
236 QuickCheck >= 2.4,
207 QuickCheck >= 2.4,
237 random == 1.0.*,
208 random == 1.0.*,
238 base >= 4 && < 5,
209 base >= 4 && < 5,
@@ -249,23 +220,21 @@ test-suite verify-empty-image-props
250 utf8-string >= 0.3 && < 0.4,
221 utf8-string >= 0.3 && < 0.4,
251 vector >= 0.7
222 vector >= 0.7
253test-suite verify-eval-terminfo-caps
225test-suite verify-eval-terminfo-caps
254 default-language: Haskell2010
226 default-language: Haskell2010
256 type: detailed-0.9
228 type: detailed-0.9
258− hs-source-dirs: src test
230+ hs-source-dirs: test
260 test-module: VerifyEvalTerminfoCaps
232 test-module: VerifyEvalTerminfoCaps
262− other-modules: Data.Terminfo.Parse
234+ other-modules: Verify
268− build-depends: Cabal == 1.17.*,
236+ build-depends: vty,
269 QuickCheck >= 2.4,
238 QuickCheck >= 2.4,
270 random == 1.0.*,
239 random == 1.0.*,
271 base >= 4 && < 5,
240 base >= 4 && < 5,
@@ -282,36 +251,23 @@ test-suite verify-eval-terminfo-caps
283 utf8-string >= 0.3 && < 0.4,
252 utf8-string >= 0.3 && < 0.4,
284 vector >= 0.7
253 vector >= 0.7
286test-suite verify-image-ops
256test-suite verify-image-ops
287 default-language: Haskell2010
257 default-language: Haskell2010
289 type: detailed-0.9
259 type: detailed-0.9
291− hs-source-dirs: src test
261+ hs-source-dirs: test
293 test-module: VerifyImageOps
263 test-module: VerifyImageOps
295− other-modules: Graphics.Vty.Attributes
296− Graphics.Vty.DisplayAttributes
297− Graphics.Vty.DisplayRegion
299− Graphics.Vty.Image.Internal
300− Graphics.Vty.Picture
302− Graphics.Vty.Debug.Image
304− Verify
265+ other-modules: Verify
305 Verify.Graphics.Vty.Attributes
266 Verify.Graphics.Vty.Attributes
306 Verify.Graphics.Vty.Image
267 Verify.Graphics.Vty.Image
308− c-sources: cbits/gwinsz.c
309− cbits/set_term_timing.c
314− build-depends: Cabal == 1.17.*,
269+ build-depends: vty,
315 QuickCheck >= 2.4,
271 QuickCheck >= 2.4,
316 random == 1.0.*,
272 random == 1.0.*,
317 base >= 4 && < 5,
273 base >= 4 && < 5,
@@ -328,30 +284,23 @@ test-suite verify-image-ops
329 utf8-string >= 0.3 && < 0.4,
285 utf8-string >= 0.3 && < 0.4,
330 vector >= 0.7
286 vector >= 0.7
332test-suite verify-image-trans
289test-suite verify-image-trans
333 default-language: Haskell2010
290 default-language: Haskell2010
335 type: detailed-0.9
292 type: detailed-0.9
337− hs-source-dirs: src test
294+ hs-source-dirs: test
339 test-module: VerifyImageTrans
296 test-module: VerifyImageTrans
341− other-modules: Graphics.Vty.Attributes
342− Graphics.Vty.Debug.Image
344− Graphics.Vty.Image.Internal
346− Verify
298+ other-modules: Verify
347 Verify.Graphics.Vty.Attributes
299 Verify.Graphics.Vty.Attributes
348 Verify.Graphics.Vty.Image
300 Verify.Graphics.Vty.Image
350− c-sources: cbits/mk_wcwidth.c
354− build-depends: Cabal == 1.17.*,
302+ build-depends: vty,
355 QuickCheck >= 2.4,
304 QuickCheck >= 2.4,
356 random == 1.0.*,
305 random == 1.0.*,
357 base >= 4 && < 5,
306 base >= 4 && < 5,
@@ -368,41 +317,19 @@ test-suite verify-image-trans
369 utf8-string >= 0.3 && < 0.4,
318 utf8-string >= 0.3 && < 0.4,
370 vector >= 0.7
319 vector >= 0.7
372test-suite verify-inline
322test-suite verify-inline
373 default-language: Haskell2010
323 default-language: Haskell2010
375 type: detailed-0.9
325 type: detailed-0.9
377− hs-source-dirs: src test
327+ hs-source-dirs: test
379 test-module: VerifyInline
329 test-module: VerifyInline
381− other-modules: Graphics.Text.Width
385− Graphics.Vty.Attributes
386− Graphics.Vty.DisplayAttributes
387− Graphics.Vty.DisplayRegion
389− Graphics.Vty.Image.Internal
391− Graphics.Vty.Picture
393− Graphics.Vty.Terminal
394− Graphics.Vty.Terminal.Generic
395− Graphics.Vty.Terminal.MacOSX
396− Graphics.Vty.Terminal.TerminfoBased
397− Graphics.Vty.Terminal.XTermColor
399− c-sources: cbits/gwinsz.c
400− cbits/set_term_timing.c
405− build-depends: Cabal == 1.17.*,
331+ build-depends: vty,
406 QuickCheck >= 2.4,
333 QuickCheck >= 2.4,
407 random == 1.0.*,
334 random == 1.0.*,
408 base >= 4 && < 5,
335 base >= 4 && < 5,
@@ -419,23 +346,22 @@ test-suite verify-inline
420 utf8-string >= 0.3 && < 0.4,
347 utf8-string >= 0.3 && < 0.4,
421 vector >= 0.7
348 vector >= 0.7
423test-suite verify-parse-terminfo-caps
351test-suite verify-parse-terminfo-caps
424 default-language: Haskell2010
352 default-language: Haskell2010
426 type: detailed-0.9
354 type: detailed-0.9
428− hs-source-dirs: src test
356+ hs-source-dirs: test
430 test-module: VerifyParseTerminfoCaps
358 test-module: VerifyParseTerminfoCaps
432− other-modules: Data.Terminfo.Parse
360+ other-modules: Verify
434 Verify.Data.Terminfo.Parse
361 Verify.Data.Terminfo.Parse
438− build-depends: Cabal == 1.17.*,
363+ build-depends: vty,
439 QuickCheck >= 2.4,
365 QuickCheck >= 2.4,
440 random == 1.0.*,
366 random == 1.0.*,
441 base >= 4 && < 5,
367 base >= 4 && < 5,
@@ -452,22 +378,21 @@ test-suite verify-parse-terminfo-caps
453 utf8-string >= 0.3 && < 0.4,
379 utf8-string >= 0.3 && < 0.4,
454 vector >= 0.7
380 vector >= 0.7
456test-suite verify-picture-ops
383test-suite verify-picture-ops
457 default-language: Haskell2010
384 default-language: Haskell2010
459 type: detailed-0.9
386 type: detailed-0.9
461− hs-source-dirs: src test
388+ hs-source-dirs: test
463 test-module: VerifyPictureOps
390 test-module: VerifyPictureOps
465− other-modules: Graphics.Vty.Picture
392+ other-modules: Verify
470− build-depends: Cabal == 1.17.*,
394+ build-depends: vty,
471 QuickCheck >= 2.4,
396 QuickCheck >= 2.4,
472 random == 1.0.*,
397 random == 1.0.*,
473 base >= 4 && < 5,
398 base >= 4 && < 5,
@@ -484,44 +409,26 @@ test-suite verify-picture-ops
485 utf8-string >= 0.3 && < 0.4,
410 utf8-string >= 0.3 && < 0.4,
486 vector >= 0.7
411 vector >= 0.7
488test-suite verify-picture-to-span
414test-suite verify-picture-to-span
489 default-language: Haskell2010
415 default-language: Haskell2010
491 type: detailed-0.9
417 type: detailed-0.9
493− hs-source-dirs: src test
419+ hs-source-dirs: test
495 test-module: VerifyPictureToSpan
421 test-module: VerifyPictureToSpan
497− other-modules: Graphics.Vty
423+ other-modules: Verify
498− Graphics.Vty.Attributes
499− Graphics.Vty.DisplayAttributes
500− Graphics.Vty.DisplayRegion
502− Graphics.Vty.Image.Internal
503− Graphics.Vty.Picture
505− Graphics.Vty.Terminal
506− Graphics.Vty.Terminal.Generic
507− Graphics.Vty.Terminal.Debug
509− Graphics.Vty.Debug.Image
512 Verify.Graphics.Vty.Attributes
424 Verify.Graphics.Vty.Attributes
513 Verify.Graphics.Vty.DisplayRegion
425 Verify.Graphics.Vty.DisplayRegion
514 Verify.Graphics.Vty.Picture
426 Verify.Graphics.Vty.Picture
515 Verify.Graphics.Vty.Image
427 Verify.Graphics.Vty.Image
516 Verify.Graphics.Vty.Span
428 Verify.Graphics.Vty.Span
518− c-sources: cbits/gwinsz.c
519− cbits/set_term_timing.c
524− build-depends: Cabal == 1.17.*,
430+ build-depends: vty,
525 QuickCheck >= 2.4,
432 QuickCheck >= 2.4,
526 random == 1.0.*,
433 random == 1.0.*,
527 base >= 4 && < 5,
434 base >= 4 && < 5,
@@ -538,44 +445,26 @@ test-suite verify-picture-to-span
539 utf8-string >= 0.3 && < 0.4,
446 utf8-string >= 0.3 && < 0.4,
540 vector >= 0.7
447 vector >= 0.7
542test-suite verify-span-ops
450test-suite verify-span-ops
543 default-language: Haskell2010
451 default-language: Haskell2010
545 type: detailed-0.9
453 type: detailed-0.9
547− hs-source-dirs: src test
455+ hs-source-dirs: test
549 test-module: VerifySpanOps
457 test-module: VerifySpanOps
551− other-modules: Graphics.Vty
459+ other-modules: Verify
552− Graphics.Vty.Attributes
553− Graphics.Vty.DisplayAttributes
554− Graphics.Vty.DisplayRegion
556− Graphics.Vty.Image.Internal
557− Graphics.Vty.Picture
559− Graphics.Vty.Terminal
560− Graphics.Vty.Terminal.Generic
561− Graphics.Vty.Terminal.Debug
563− Graphics.Vty.Debug.Image
566 Verify.Graphics.Vty.Attributes
460 Verify.Graphics.Vty.Attributes
567 Verify.Graphics.Vty.DisplayRegion
461 Verify.Graphics.Vty.DisplayRegion
568 Verify.Graphics.Vty.Picture
462 Verify.Graphics.Vty.Picture
569 Verify.Graphics.Vty.Image
463 Verify.Graphics.Vty.Image
570 Verify.Graphics.Vty.Span
464 Verify.Graphics.Vty.Span
572− c-sources: cbits/gwinsz.c
573− cbits/set_term_timing.c
578− build-depends: Cabal == 1.17.*,
466+ build-depends: vty,
579 QuickCheck >= 2.4,
468 QuickCheck >= 2.4,
580 random == 1.0.*,
469 random == 1.0.*,
581 base >= 4 && < 5,
470 base >= 4 && < 5,
@@ -592,27 +481,21 @@ test-suite verify-span-ops
593 utf8-string >= 0.3 && < 0.4,
482 utf8-string >= 0.3 && < 0.4,
594 vector >= 0.7
483 vector >= 0.7
596test-suite verify-utf8-width
486test-suite verify-utf8-width
597 default-language: Haskell2010
487 default-language: Haskell2010
599 type: detailed-0.9
489 type: detailed-0.9
601− hs-source-dirs: src test
491+ hs-source-dirs: test
603 test-module: VerifyUtf8Width
493 test-module: VerifyUtf8Width
605− other-modules: Graphics.Text.Width
495+ other-modules: Verify
606− Graphics.Vty.Attributes
608− Graphics.Vty.Image.Internal
611− c-sources: cbits/mk_wcwidth.c
615− build-depends: Cabal == 1.17.*,
497+ build-depends: vty,
616 QuickCheck >= 2.4,
499 QuickCheck >= 2.4,
617 random == 1.0.*,
500 random == 1.0.*,
618 base >= 4 && < 5,
501 base >= 4 && < 5,
@@ -629,21 +512,17 @@ test-suite verify-utf8-width
630 utf8-string >= 0.3 && < 0.4,
513 utf8-string >= 0.3 && < 0.4,
631 vector >= 0.7
514 vector >= 0.7
633executable vty-interactive-terminal-test
517executable vty-interactive-terminal-test
634 main-is: interactive_terminal_test.hs
518 main-is: interactive_terminal_test.hs
636 default-language: Haskell2010
520 default-language: Haskell2010
638− hs-source-dirs: src test
522+ hs-source-dirs: test
640− c-sources: cbits/gwinsz.c
641− cbits/set_term_timing.c
646− build-depends: base >= 4 && < 5,
524+ build-depends: vty,
647 bytestring,
526 bytestring,
648 containers,
527 containers,
649 deepseq >= 1.1 && < 1.4,
528 deepseq >= 1.1 && < 1.4,
@@ -664,15 +543,10 @@ executable vty-benchmark
665 default-language: Haskell2010
544 default-language: Haskell2010
667− hs-source-dirs: src test
546+ hs-source-dirs: test
669− c-sources: cbits/gwinsz.c
670− cbits/set_term_timing.c
675− build-depends: base >= 4 && < 5,
548+ build-depends: vty,
676 bytestring,
550 bytestring,
677 Cabal == 1.17.*,
551 Cabal == 1.17.*,
678 containers,
552 containers,