Skip to content

Commit

Permalink
ProgressBarDemo: fix help string
Browse files Browse the repository at this point in the history
  • Loading branch information
jtdaugherty committed Oct 26, 2024
1 parent 32225d6 commit ade3f9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion programs/ProgressBarDemo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ drawUI p = [ui]
(str "Y: " <+> cBar2) <=>
(str "Z: " <+> cBar3) <=>
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.VtyEvent e) =
Expand Down

0 comments on commit ade3f9d

Please sign in to comment.