purebred-0.1.0.0: An mail user agent built around notmuch

Safe HaskellNone
LanguageHaskell2010

UI.Status.Main

Synopsis

Documentation

checkForNewMail :: BChan PurebredEvent -> FilePath -> Text -> Delay -> IO () Source #

rescheduleMailcheck :: BChan PurebredEvent -> FilePath -> Text -> Delay -> IO () Source #

data StatusbarContext a Source #

Constructors

ListContext a 
EditorContext a 
ErrorContext a 
Instances
Show a => Show (StatusbarContext a) Source # 
Instance details

Defined in UI.Status.Main

Methods

showsPrec :: Int -> StatusbarContext a -> ShowS

show :: StatusbarContext a -> String

showList :: [StatusbarContext a] -> ShowS

class WithContext a where Source #

Methods

renderContext :: AppState -> a -> Widget Name Source #

Instances
WithContext (Editor Text Name) Source # 
Instance details

Defined in UI.Status.Main

Methods

renderContext :: AppState -> Editor Text Name -> Widget Name Source #

WithContext (ListWithLength t e) Source # 
Instance details

Defined in UI.Status.Main

Methods

renderContext :: AppState -> ListWithLength t e -> Widget Name Source #

currentItemW :: ListWithLength t e -> Widget n Source #

lwl :: Foldable t => GenericList Name t e -> ListWithLength t e Source #

Convenience function for promoting a brick list to a ListWithLength, using length on the underlying list.