AC-Terminal-1.0: Trivial wrapper over ansi-terminal.

System.Terminal.Core

Description

This module provides the basic features of the package.

Synopsis

Documentation

data Colour Source

Possible terminal colours. (D for Dark, L for Light.)

Instances

set_colours :: Colour -> Colour -> IO ()Source

Set terminal forground and background colours.

Note that under Windows, the change in colour takes place immediately. You may need to flush stdout before calling this function. (This is not necessary under Unix, but it's probably good practise to do it for portability's sake.)

set_title :: String -> IO ()Source

Change the title of the [virtual] terminal.