Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
- data Focus
- data Subfocus
- data WindowsFilter
- focusNetwork :: Focus -> Maybe Text
- _ChannelFocus :: Prism' Focus (Text, Identifier)
- _NetworkFocus :: Prism' Focus Text
- _Unfocused :: Prism' Focus ()
Types
Currently focused window
Unfocused | No network |
NetworkFocus !Text | Network |
ChannelFocus !Text !Identifier | Network Channel/Nick |
Subfocus view
FocusMessages | Show messages |
FocusInfo | Show channel metadata |
FocusUsers | Show channel user list |
FocusMasks !Char | Show channel mask list for given mode |
FocusWindows WindowsFilter | Show client windows |
FocusPalette | Show current palette |
FocusMentions | Show all mentions |
FocusDigraphs | Show all digraphs |
FocusHelp (Maybe Text) | Show help window with optional command |
data WindowsFilter Source #
Filter argument for FocusWindows
AllWindows | no filter |
NetworkWindows | only network windows |
ChannelWindows | only channel windows |
UserWindows | only user windows |
Focus operations
Return the network associated with the current focus
Focus Prisms
_ChannelFocus :: Prism' Focus (Text, Identifier) Source #
_Unfocused :: Prism' Focus () Source #