purebred-0.1.0.0: An mail user agent built around notmuch

Safe HaskellNone
LanguageHaskell2010

UI.Mail.Main

Synopsis

Documentation

renderMailView :: AppState -> Widget Name Source #

Instead of using the entire rendering area to show the email, we still show the index in context above the mail.

Implementation detail: Currently we're creating the sub list of mails we show for each key press. This might have to change in the future.

renderPart :: CharsetLookup -> Bool -> Headers -> Widget Name Source #

buildWordMarkup :: Maybe ScrollStep -> Line -> Markup AttrName Source #

Render the line by inserting markup if we have a match *and* a scroll step matching Note: Why are we ignoring the line number here? Because it only matters for scrolling, not for highlighting the match.