ProgressBarDemo: fix help string

This commit is contained in:
Jonathan Daugherty 2024-10-25 19:04:52 -07:00
parent 32225d6c13
commit ade3f9d20e

View File

@ -71,7 +71,10 @@ drawUI p = [ui]
(str "Y: " <+> cBar2) <=> (str "Y: " <+> cBar2) <=>
(str "Z: " <+> cBar3) <=> (str "Z: " <+> cBar3) <=>
str "" <=> str "" <=>
strWrap "Hit 'x', 'y', or 'z' to advance progress, 't' to toggle labels, 'r' to revert values, 'cmd + r' to reset values or 'q' to quit" (strWrap $ concat [ "Hit 'x', 'y', or 'z' to advance progress,"
, "'t' to toggle labels, 'r' to revert values, "
, "'Ctrl + r' to reset values or 'q' to quit"
])
appEvent :: T.BrickEvent () e -> T.EventM () (MyAppState ()) () appEvent :: T.BrickEvent () e -> T.EventM () (MyAppState ()) ()
appEvent (T.VtyEvent e) = appEvent (T.VtyEvent e) =