glirc-2.36: Console IRC client

Copyright(c) Eric Mertens 2016-2020
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Commands.TabCompletion

Description

 
Synopsis

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

simpleTabCompletion Source #

Arguments

:: Prefix a 
=> WordCompletionMode

word completion mode

-> [a]

hints

-> [a]

all completions

-> Bool

reversed order

-> ClientState

client state

-> IO CommandResult 

nickTabCompletion Source #

Arguments

:: Bool

reversed

-> ClientState 
-> IO CommandResult 

Complete the nickname at the current cursor position using the userlist for the currently focused channel (if any)