mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-11-26 09:06:56 +03:00
Increase vty bound to 5.3 and remove comment about now-fixed bug
This commit is contained in:
parent
e0830de4c1
commit
47ef979221
28
brick.cabal
28
brick.cabal
@ -76,7 +76,7 @@ library
|
||||
Brick.Widgets.Internal
|
||||
|
||||
build-depends: base <= 5,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
transformers,
|
||||
data-default,
|
||||
Diff,
|
||||
@ -97,7 +97,7 @@ executable brick-visibility-demo
|
||||
main-is: VisibilityDemo.hs
|
||||
build-depends: base,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -111,7 +111,7 @@ executable brick-viewport-scroll-demo
|
||||
main-is: ViewportScrollDemo.hs
|
||||
build-depends: base,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -125,7 +125,7 @@ executable brick-dialog-demo
|
||||
main-is: DialogDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -139,7 +139,7 @@ executable brick-layer-demo
|
||||
main-is: LayerDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -153,7 +153,7 @@ executable brick-suspend-resume-demo
|
||||
main-is: SuspendAndResumeDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -167,7 +167,7 @@ executable brick-padding-demo
|
||||
main-is: PaddingDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -181,7 +181,7 @@ executable brick-attr-demo
|
||||
main-is: AttrDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -195,7 +195,7 @@ executable brick-markup-demo
|
||||
main-is: MarkupDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -209,7 +209,7 @@ executable brick-list-demo
|
||||
main-is: ListDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -223,7 +223,7 @@ executable brick-custom-event-demo
|
||||
main-is: CustomEventDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -237,7 +237,7 @@ executable brick-hello-world-demo
|
||||
main-is: HelloWorldDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -251,7 +251,7 @@ executable brick-edit-demo
|
||||
main-is: EditDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
@ -265,7 +265,7 @@ executable brick-border-demo
|
||||
main-is: BorderDemo.hs
|
||||
build-depends: base <= 5,
|
||||
brick,
|
||||
vty >= 5.2.10,
|
||||
vty >= 5.3,
|
||||
data-default,
|
||||
text,
|
||||
lens
|
||||
|
@ -37,7 +37,6 @@ appEvent st e =
|
||||
case e of
|
||||
V.EvKey V.KEsc [] -> halt st
|
||||
V.EvKey (V.KChar ' ') [] -> suspendAndResume $ do
|
||||
-- NB: https://github.com/coreyoconnor/vty/issues/77
|
||||
putStrLn "Suspended. Please enter something and press enter to resume:"
|
||||
s <- getLine
|
||||
return $ st & stExternalInput .~ s
|
||||
|
Loading…
Reference in New Issue
Block a user