Copyright | (c) Eric Mertens 2016-2020 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- noClientTab :: Bool -> ClientCommand String
- noNetworkTab :: Bool -> NetworkCommand String
- noChannelTab :: Bool -> ChannelCommand String
- simpleClientTab :: Bool -> ClientCommand String
- simpleNetworkTab :: Bool -> NetworkCommand String
- simpleChannelTab :: Bool -> ChannelCommand String
- simpleTabCompletion :: Prefix a => WordCompletionMode -> [a] -> [a] -> Bool -> ClientState -> IO CommandResult
- simpleTabCompletion' :: Prefix a => (Char -> Bool) -> WordCompletionMode -> [a] -> [a] -> Bool -> ClientState -> IO CommandResult
- nickTabCompletion :: Bool -> ClientState -> IO CommandResult
- isNickChar :: Char -> Bool
- activeNicks :: ClientState -> [Identifier]
Documentation
noClientTab :: Bool -> ClientCommand String Source #
Provides no tab completion for client commands
noNetworkTab :: Bool -> NetworkCommand String Source #
Provides no tab completion for network commands
noChannelTab :: Bool -> ChannelCommand String Source #
Provides no tab completion for channel commands
simpleClientTab :: Bool -> ClientCommand String Source #
Provides nickname based tab completion for client commands
simpleNetworkTab :: Bool -> NetworkCommand String Source #
Provides nickname based tab completion for network commands
simpleChannelTab :: Bool -> ChannelCommand String Source #
Provides nickname based tab completion for channel commands
:: Prefix a | |
=> WordCompletionMode | word completion mode |
-> [a] | hints |
-> [a] | all completions |
-> Bool | reversed order |
-> ClientState | client state |
-> IO CommandResult |
:: Prefix a | |
=> (Char -> Bool) | valid characters |
-> WordCompletionMode | word completion mode |
-> [a] | hints |
-> [a] | all completions |
-> Bool | reversed order |
-> ClientState | client state |
-> IO CommandResult |
:: Bool | reversed |
-> ClientState | |
-> IO CommandResult |
Complete the nickname at the current cursor position using the userlist for the currently focused channel (if any)
isNickChar :: Char -> Bool Source #
activeNicks :: ClientState -> [Identifier] Source #