Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- withBrackets :: Widget a -> Widget a
- renderTime :: ChatState -> UTCTime -> Widget Name
- renderDate :: ChatState -> UTCTime -> Widget Name
- renderKeybindingHelp :: ChatState -> Text -> [KeyEvent] -> Widget Name
- insertDateMarkers :: Messages -> Text -> TimeZoneSeries -> Messages
- getDateFormat :: ChatState -> Text
- mkChannelName :: ChatState -> ChannelInfo -> Text
- userSigilFromInfo :: UserInfo -> Char
- multilineHeightLimit :: Int
Documentation
withBrackets :: Widget a -> Widget a Source #
insertDateMarkers :: Messages -> Text -> TimeZoneSeries -> Messages Source #
Modifies a message sequence by inserting date transition markers in between messages with different creation dates. Server dates from messages are converted to local time (via the current timezone) and midnight of that timezone used to generate date markers.
getDateFormat :: ChatState -> Text Source #
mkChannelName :: ChatState -> ChannelInfo -> Text Source #
userSigilFromInfo :: UserInfo -> Char Source #