Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- 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 |
FocusDCC | Show DCC offers 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 |
FocusKeyMap | Show key bindings |
FocusHelp (Maybe Text) | Show help window with optional command |
FocusRtsStats | Show GHC RTS statistics |
FocusIgnoreList | Show ignored masks |
FocusCert | Show rendered certificate |
data WindowsFilter Source #
Filter argument for FocusWindows
AllWindows | no filter |
NetworkWindows | only network windows |
ChannelWindows | only channel windows |
UserWindows | only user windows |
Instances
Eq WindowsFilter Source # | |
Defined in Client.State.Focus (==) :: WindowsFilter -> WindowsFilter -> Bool # (/=) :: WindowsFilter -> WindowsFilter -> Bool # | |
Show WindowsFilter Source # | |
Defined in Client.State.Focus showsPrec :: Int -> WindowsFilter -> ShowS # show :: WindowsFilter -> String # showList :: [WindowsFilter] -> ShowS # |
Focus operations
Return the network associated with the current focus
Focus Prisms
_ChannelFocus :: Prism' Focus (Text, Identifier) Source #
_Unfocused :: Prism' Focus () Source #