Safe Haskell | None |
---|---|
Language | Haskell2010 |
Brick.Widgets.CommentDialog
Documentation
data CommentWidget n Source #
commentWidget :: n -> Text -> Text -> CommentWidget n Source #
renderCommentWidget :: (Ord n, Show n) => CommentWidget n -> Widget n Source #
commentDialogComment :: CommentWidget n -> Text Source #
data CommentAction n Source #
Constructors
CommentContinue (CommentWidget n) | |
CommentFinished Text |
handleCommentEvent :: Event -> CommentWidget n -> EventM n (CommentAction n) Source #