hascard-0.5.0.3.1: A TUI for reviewing notes using 'flashcards' written with markdown-like syntax.
Safe HaskellNone
LanguageHaskell2010

UI.BrickHelpers

Synopsis

Documentation

hFill :: Char -> Widget n Source #

Fill all available space with the specified character. Grows only horizontally.

vFill :: Char -> Widget n Source #

Fill all available space with the specified character. Grows only vertically.

yesnoField :: (Ord n, Show n) => Bool -> Lens' s Bool -> n -> String -> s -> FormFieldState s e n Source #

renderYesno :: Ord n => Bool -> String -> n -> Bool -> Bool -> Widget n Source #

naturalNumberField :: (Ord n, Show n) => Int -> Lens' s Int -> n -> String -> s -> FormFieldState s e n Source #