@@ -1,5 +1,5 @@
11name: vty
2−version: 5.35.1
2+version: 5.31
33license: BSD3
44license-file: LICENSE
55author: AUTHORS
@@ -45,7 +45,7 @@ library
4545 deepseq >= 1.1 && < 1.5,
4646 directory,
4747 filepath >= 1.0 && < 2.0,
48− microlens < 0.4.13,
48+ microlens < 0.4.12,
4949 microlens-mtl,
5050 microlens-th,
5151 hashable >= 1.2,
@@ -69,7 +69,6 @@ library
6969 exposed-modules: Graphics.Vty
7070 Graphics.Vty.Attributes
7171 Graphics.Vty.Attributes.Color
72− Graphics.Vty.Attributes.Color240
7372 Graphics.Vty.Config
7473 Graphics.Vty.Error
7574 Graphics.Vty.Image
@@ -105,7 +104,8 @@ library
105104 Graphics.Vty.UnicodeWidthTable.Query
106105 Graphics.Vty.UnicodeWidthTable.Install
107106
108− other-modules: Graphics.Vty.Debug.Image
107+ other-modules: Graphics.Vty.Attributes.Color240
108+ Graphics.Vty.Debug.Image
109109 Graphics.Vty.Input.Terminfo.ANSIVT
110110
111111 c-sources: cbits/gwinsz.c
@@ -117,6 +117,8 @@ library
117117
118118 hs-source-dirs: src
119119
120+ default-extensions: ScopedTypeVariables
121+
120122 ghc-options: -O2 -funbox-strict-fields -Wall -fspec-constr -fspec-constr-count=10
121123
122124 ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr -fspec-constr-count=10
@@ -141,6 +143,7 @@ executable vty-mode-demo
141143 hs-source-dirs: demos
142144
143145 default-language: Haskell2010
146+ default-extensions: ScopedTypeVariables
144147 ghc-options: -threaded
145148
146149 build-depends: vty,
@@ -155,6 +158,7 @@ executable vty-demo
155158 hs-source-dirs: demos
156159
157160 default-language: Haskell2010
161+ default-extensions: ScopedTypeVariables
158162 ghc-options: -threaded
159163
160164 build-depends: vty,
@@ -166,6 +170,7 @@ executable vty-demo
166170
167171test-suite verify-using-mock-terminal
168172 default-language: Haskell2010
173+ default-extensions: ScopedTypeVariables
169174
170175 type: detailed-0.9
171176
@@ -184,7 +189,7 @@ test-suite verify-using-mock-terminal
184189 build-depends: vty,
185190 Cabal >= 1.20,
186191 QuickCheck >= 2.7,
187− random >= 1.0 && < 1.3,
192+ random >= 1.0 && < 1.2,
188193 base >= 4.8 && < 5,
189194 bytestring,
190195 containers,
@@ -198,6 +203,7 @@ test-suite verify-using-mock-terminal
198203
199204test-suite verify-terminal
200205 default-language: Haskell2010
206+ default-extensions: ScopedTypeVariables
201207
202208 type: detailed-0.9
203209
@@ -216,7 +222,7 @@ test-suite verify-terminal
216222 build-depends: vty,
217223 Cabal >= 1.20,
218224 QuickCheck >= 2.7,
219− random >= 1.0 && < 1.3,
225+ random >= 1.0 && < 1.2,
220226 base >= 4.8 && < 5,
221227 bytestring,
222228 containers,
@@ -230,6 +236,7 @@ test-suite verify-terminal
230236
231237test-suite verify-display-attributes
232238 default-language: Haskell2010
239+ default-extensions: ScopedTypeVariables
233240
234241 type: detailed-0.9
235242
@@ -248,7 +255,7 @@ test-suite verify-display-attributes
248255 build-depends: vty,
249256 Cabal >= 1.20,
250257 QuickCheck >= 2.7,
251− random >= 1.0 && < 1.3,
258+ random >= 1.0 && < 1.2,
252259 base >= 4.8 && < 5,
253260 bytestring,
254261 containers,
@@ -261,6 +268,7 @@ test-suite verify-display-attributes
261268
262269test-suite verify-empty-image-props
263270 default-language: Haskell2010
271+ default-extensions: ScopedTypeVariables
264272
265273 type: detailed-0.9
266274
@@ -273,7 +281,7 @@ test-suite verify-empty-image-props
273281 build-depends: vty,
274282 Cabal >= 1.20,
275283 QuickCheck >= 2.7,
276− random >= 1.0 && < 1.3,
284+ random >= 1.0 && < 1.2,
277285 base >= 4.8 && < 5,
278286 bytestring,
279287 containers,
@@ -286,6 +294,7 @@ test-suite verify-empty-image-props
286294
287295test-suite verify-eval-terminfo-caps
288296 default-language: Haskell2010
297+ default-extensions: ScopedTypeVariables
289298
290299 type: detailed-0.9
291300
@@ -299,7 +308,7 @@ test-suite verify-eval-terminfo-caps
299308 build-depends: vty,
300309 Cabal >= 1.20,
301310 QuickCheck >= 2.7,
302− random >= 1.0 && < 1.3,
311+ random >= 1.0 && < 1.2,
303312 base >= 4.8 && < 5,
304313 blaze-builder >= 0.3.3.2 && < 0.5,
305314 bytestring,
@@ -314,6 +323,7 @@ test-suite verify-eval-terminfo-caps
314323
315324test-suite verify-image-ops
316325 default-language: Haskell2010
326+ default-extensions: ScopedTypeVariables
317327
318328 type: detailed-0.9
319329
@@ -328,7 +338,7 @@ test-suite verify-image-ops
328338 build-depends: vty,
329339 Cabal >= 1.20,
330340 QuickCheck >= 2.7,
331− random >= 1.0 && < 1.3,
341+ random >= 1.0 && < 1.2,
332342 base >= 4.8 && < 5,
333343 bytestring,
334344 containers,
@@ -341,6 +351,7 @@ test-suite verify-image-ops
341351
342352test-suite verify-image-trans
343353 default-language: Haskell2010
354+ default-extensions: ScopedTypeVariables
344355
345356 type: detailed-0.9
346357
@@ -355,7 +366,7 @@ test-suite verify-image-trans
355366 build-depends: vty,
356367 Cabal >= 1.20,
357368 QuickCheck >= 2.7,
358− random >= 1.0 && < 1.3,
369+ random >= 1.0 && < 1.2,
359370 base >= 4.8 && < 5,
360371 bytestring,
361372 containers,
@@ -368,6 +379,7 @@ test-suite verify-image-trans
368379
369380test-suite verify-inline
370381 default-language: Haskell2010
382+ default-extensions: ScopedTypeVariables
371383
372384 type: detailed-0.9
373385
@@ -381,7 +393,7 @@ test-suite verify-inline
381393 build-depends: vty,
382394 Cabal >= 1.20,
383395 QuickCheck >= 2.7,
384− random >= 1.0 && < 1.3,
396+ random >= 1.0 && < 1.2,
385397 base >= 4.8 && < 5,
386398 bytestring,
387399 containers,
@@ -394,6 +406,7 @@ test-suite verify-inline
394406
395407test-suite verify-parse-terminfo-caps
396408 default-language: Haskell2010
409+ default-extensions: ScopedTypeVariables
397410
398411 type: detailed-0.9
399412
@@ -408,7 +421,7 @@ test-suite verify-parse-terminfo-caps
408421 build-depends: vty,
409422 Cabal >= 1.20,
410423 QuickCheck >= 2.7,
411− random >= 1.0 && < 1.3,
424+ random >= 1.0 && < 1.2,
412425 base >= 4.8 && < 5,
413426 bytestring,
414427 containers,
@@ -422,6 +435,7 @@ test-suite verify-parse-terminfo-caps
422435
423436test-suite verify-simple-span-generation
424437 default-language: Haskell2010
438+ default-extensions: ScopedTypeVariables
425439
426440 type: detailed-0.9
427441
@@ -439,7 +453,7 @@ test-suite verify-simple-span-generation
439453 build-depends: vty,
440454 Cabal >= 1.20,
441455 QuickCheck >= 2.7,
442− random >= 1.0 && < 1.3,
456+ random >= 1.0 && < 1.2,
443457 base >= 4.8 && < 5,
444458 bytestring,
445459 containers,
@@ -453,6 +467,7 @@ test-suite verify-simple-span-generation
453467
454468test-suite verify-crop-span-generation
455469 default-language: Haskell2010
470+ default-extensions: ScopedTypeVariables
456471
457472 type: detailed-0.9
458473
@@ -470,7 +485,7 @@ test-suite verify-crop-span-generation
470485 build-depends: vty,
471486 Cabal >= 1.20,
472487 QuickCheck >= 2.7,
473− random >= 1.0 && < 1.3,
488+ random >= 1.0 && < 1.2,
474489 base >= 4.8 && < 5,
475490 bytestring,
476491 containers,
@@ -484,6 +499,7 @@ test-suite verify-crop-span-generation
484499
485500test-suite verify-layers-span-generation
486501 default-language: Haskell2010
502+ default-extensions: ScopedTypeVariables
487503
488504 type: detailed-0.9
489505
@@ -501,32 +517,7 @@ test-suite verify-layers-span-generation
501517 build-depends: vty,
502518 Cabal >= 1.20,
503519 QuickCheck >= 2.7,
504− random >= 1.0 && < 1.3,
505− base >= 4.8 && < 5,
506− bytestring,
507− containers,
508− deepseq >= 1.1 && < 1.5,
509− mtl >= 1.1.1.0 && < 2.3,
510− text >= 0.11.3,
511− unix,
512− utf8-string >= 0.3 && < 1.1,
513− vector >= 0.7
514−
515−test-suite verify-color-mapping
516− default-language: Haskell2010
517−
518− type: detailed-0.9
519−
520− hs-source-dirs: test
521−
522− test-module: VerifyColor240
523−
524− other-modules: Verify
525−
526− build-depends: vty,
527− Cabal >= 1.20,
528− QuickCheck >= 2.7,
529− random >= 1.0 && < 1.3,
520+ random >= 1.0 && < 1.2,
530521 base >= 4.8 && < 5,
531522 bytestring,
532523 containers,
@@ -539,6 +530,7 @@ test-suite verify-color-mapping
539530
540531test-suite verify-utf8-width
541532 default-language: Haskell2010
533+ default-extensions: ScopedTypeVariables
542534
543535 type: detailed-0.9
544536
@@ -551,7 +543,7 @@ test-suite verify-utf8-width
551543 build-depends: vty,
552544 Cabal >= 1.20,
553545 QuickCheck >= 2.7,
554− random >= 1.0 && < 1.3,
546+ random >= 1.0 && < 1.2,
555547 base >= 4.8 && < 5,
556548 bytestring,
557549 containers,
@@ -564,6 +556,7 @@ test-suite verify-utf8-width
564556
565557test-suite verify-using-mock-input
566558 default-language: Haskell2010
559+ default-extensions: ScopedTypeVariables
567560
568561 type: exitcode-stdio-1.0
569562
@@ -571,8 +564,6 @@ test-suite verify-using-mock-input
571564
572565 main-is: VerifyUsingMockInput.hs
573566
574− other-modules: Verify.Graphics.Vty.Output
575−
576567 build-depends: vty,
577568 Cabal >= 1.20,
578569 QuickCheck >= 2.7,
@@ -580,7 +571,7 @@ test-suite verify-using-mock-input
580571 quickcheck-assertions >= 0.1.1,
581572 test-framework == 0.8.*,
582573 test-framework-smallcheck == 0.2.*,
583− random >= 1.0 && < 1.3,
574+ random >= 1.0 && < 1.2,
584575 base >= 4.8 && < 5,
585576 bytestring,
586577 containers,
@@ -599,6 +590,7 @@ test-suite verify-using-mock-input
599590
600591test-suite verify-config
601592 default-language: Haskell2010
593+ default-extensions: ScopedTypeVariables
602594
603595 type: exitcode-stdio-1.0
604596
@@ -615,7 +607,7 @@ test-suite verify-config
615607 test-framework == 0.8.*,
616608 test-framework-smallcheck == 0.2.*,
617609 test-framework-hunit,
618− random >= 1.0 && < 1.3,
610+ random >= 1.0 && < 1.2,
619611 base >= 4.8 && < 5,
620612 bytestring,
621613 containers,