Increase vty bound to 5.3 and remove comment about now-fixed bug

This commit is contained in:
Jonathan Daugherty 2015-08-11 15:32:12 -07:00
parent e0830de4c1
commit 47ef979221
2 changed files with 14 additions and 15 deletions

View File

@ -76,7 +76,7 @@ library
Brick.Widgets.Internal Brick.Widgets.Internal
build-depends: base <= 5, build-depends: base <= 5,
vty >= 5.2.10, vty >= 5.3,
transformers, transformers,
data-default, data-default,
Diff, Diff,
@ -97,7 +97,7 @@ executable brick-visibility-demo
main-is: VisibilityDemo.hs main-is: VisibilityDemo.hs
build-depends: base, build-depends: base,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -111,7 +111,7 @@ executable brick-viewport-scroll-demo
main-is: ViewportScrollDemo.hs main-is: ViewportScrollDemo.hs
build-depends: base, build-depends: base,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -125,7 +125,7 @@ executable brick-dialog-demo
main-is: DialogDemo.hs main-is: DialogDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -139,7 +139,7 @@ executable brick-layer-demo
main-is: LayerDemo.hs main-is: LayerDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -153,7 +153,7 @@ executable brick-suspend-resume-demo
main-is: SuspendAndResumeDemo.hs main-is: SuspendAndResumeDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -167,7 +167,7 @@ executable brick-padding-demo
main-is: PaddingDemo.hs main-is: PaddingDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -181,7 +181,7 @@ executable brick-attr-demo
main-is: AttrDemo.hs main-is: AttrDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -195,7 +195,7 @@ executable brick-markup-demo
main-is: MarkupDemo.hs main-is: MarkupDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -209,7 +209,7 @@ executable brick-list-demo
main-is: ListDemo.hs main-is: ListDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -223,7 +223,7 @@ executable brick-custom-event-demo
main-is: CustomEventDemo.hs main-is: CustomEventDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -237,7 +237,7 @@ executable brick-hello-world-demo
main-is: HelloWorldDemo.hs main-is: HelloWorldDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -251,7 +251,7 @@ executable brick-edit-demo
main-is: EditDemo.hs main-is: EditDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens
@ -265,7 +265,7 @@ executable brick-border-demo
main-is: BorderDemo.hs main-is: BorderDemo.hs
build-depends: base <= 5, build-depends: base <= 5,
brick, brick,
vty >= 5.2.10, vty >= 5.3,
data-default, data-default,
text, text,
lens lens

View File

@ -37,7 +37,6 @@ appEvent st e =
case e of case e of
V.EvKey V.KEsc [] -> halt st V.EvKey V.KEsc [] -> halt st
V.EvKey (V.KChar ' ') [] -> suspendAndResume $ do V.EvKey (V.KChar ' ') [] -> suspendAndResume $ do
-- NB: https://github.com/coreyoconnor/vty/issues/77
putStrLn "Suspended. Please enter something and press enter to resume:" putStrLn "Suspended. Please enter something and press enter to resume:"
s <- getLine s <- getLine
return $ st & stExternalInput .~ s return $ st & stExternalInput .~ s