matterhorn-90000.0.1: Terminal client for the Mattermost chat system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Matterhorn.State.PostListWindow

Synopsis

Documentation

enterFlaggedPostListMode :: TeamId -> MH () Source #

Create a PostListWindow with flagged messages from the server.

enterPinnedPostListMode :: TeamId -> MH () Source #

Create a PostListWindow with pinned messages from the server for the current channel.

enterSearchResultPostListMode :: TeamId -> Text -> MH () Source #

Create a PostListWindow with post search result messages from the server.

postListJumpToCurrent :: TeamId -> MH () Source #

Jumps to the specified message in the message's main channel display and changes to MessageSelectState.

postListSelectUp :: TeamId -> MH () Source #

Move the selection down in the PostListWindow, which corresponds to finding a chronologically old message.

postListSelectDown :: TeamId -> MH () Source #

Move the selection up in the PostListWindow, which corresponds to finding a chronologically newer message.

postListUnflagSelected :: TeamId -> MH () Source #

Unflag the post currently selected in the PostListWindow, if any

exitPostListMode :: TeamId -> MH () Source #

Clear out the state of a PostListWindow