Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Config = Config {
- configUser :: Maybe Text
- configHost :: Maybe Text
- configTeam :: Maybe Text
- configPort :: Int
- configUrlPath :: Maybe Text
- configPass :: Maybe PasswordSource
- configToken :: Maybe TokenSource
- configOTPToken :: Maybe OTPTokenSource
- configTimeFormat :: Maybe Text
- configDateFormat :: Maybe Text
- configTheme :: Maybe Text
- configThemeCustomizationFile :: Maybe Text
- configSmartBacktick :: Bool
- configSmartEditing :: Bool
- configURLOpenCommand :: Maybe Text
- configURLOpenCommandInteractive :: Bool
- configActivityNotifyCommand :: Maybe Text
- configActivityNotifyVersion :: NotificationVersion
- configActivityBell :: Bool
- configTruncateVerbatimBlocks :: Maybe Int
- configShowMessageTimestamps :: Bool
- configShowBackground :: BackgroundInfo
- configShowMessagePreview :: Bool
- configShowChannelList :: Bool
- configShowExpandedChannelTopics :: Bool
- configEnableAspell :: Bool
- configAspellDictionary :: Maybe Text
- configUnsafeUseHTTP :: Bool
- configValidateServerCertificate :: Bool
- configChannelListWidth :: ChannelListWidth
- configLogMaxBufferSize :: Int
- configShowOlderEdits :: Bool
- configChannelListSorting :: ChannelListSorting
- configTeamListSorting :: TeamListSorting
- configShowTypingIndicator :: Bool
- configSendTypingNotifications :: Bool
- configAbsPath :: Maybe FilePath
- configUserKeys :: KeyConfig KeyEvent
- configHyperlinkingMode :: Bool
- configSyntaxDirs :: [FilePath]
- configDirectChannelExpirationDays :: Int
- configCpuUsagePolicy :: CPUUsagePolicy
- configDefaultAttachmentPath :: Maybe FilePath
- configChannelListOrientation :: ChannelListOrientation
- configThreadOrientation :: ThreadOrientation
- configMouseMode :: Bool
- configShowLastOpenThread :: Bool
- data PasswordSource
- findConfig :: Maybe FilePath -> IO (Either String ([String], Config))
- defaultConfig :: Config
- configConnectionType :: Config -> ConnectionType
Documentation
This is how we represent the user's configuration. Most fields correspond to configuration file settings (see Config.hs) but some are for internal book-keeping purposes only.
Config | |
|
data PasswordSource Source #
A user password is either given to us directly, or a command which we execute to find the password.
Instances
Read PasswordSource Source # | |
Defined in Matterhorn.Types readsPrec :: Int -> ReadS PasswordSource # readList :: ReadS [PasswordSource] # | |
Show PasswordSource Source # | |
Defined in Matterhorn.Types showsPrec :: Int -> PasswordSource -> ShowS # show :: PasswordSource -> String # showList :: [PasswordSource] -> ShowS # | |
Eq PasswordSource Source # | |
Defined in Matterhorn.Types (==) :: PasswordSource -> PasswordSource -> Bool # (/=) :: PasswordSource -> PasswordSource -> Bool # |