Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module renders the lines used in the channel user list.
Synopsis
- userListImages :: Text -> Identifier -> Int -> ClientState -> [Image']
- userInfoImages :: Text -> Identifier -> ClientState -> [Image']
Documentation
:: Text | network |
-> Identifier | channel |
-> Int | window width |
-> ClientState | client state |
-> [Image'] |
Render the lines used by the /users
command in normal mode.
These lines show the count of users having each channel mode
in addition to the nicknames of the users.
:: Text | network |
-> Identifier | channel |
-> ClientState | |
-> [Image'] |
Render lines for the /users
command in detailed view.
Each user will be rendered on a separate line with username
and host visible when known.