glirc-2.12: Console IRC client

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

Client.Image.MircFormatting

Description

This module parses mIRC encoded text and generates VTY images.

Synopsis

Documentation

parseIrcText :: Text -> Image Source #

Parse mIRC encoded format characters and hide the control characters.

parseIrcTextExplicit :: Text -> Image Source #

Parse mIRC encoded format characters and render the control characters explicitly. This view is useful when inputting control characters to make it clear where they are in the text.

controlImage :: Char -> Image Source #

Safely render a control character.