vty-windows-0.2.0.2: Windows backend for Vty
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.Vty.Platform.Windows

Description

Provides function to initialize the Vty data structure. This is the entry point for Vty applications developed for Windows. In cross-platform development however, users should use the Graphics.Vty.CrossPlatform module instead.

Synopsis

Documentation

mkVty :: VtyUserConfig -> IO Vty Source #

Given a user configuration, initialize the Vty environment

mkVtyWithSettings :: VtyUserConfig -> WindowsSettings -> IO Vty Source #

Create a Vty handle. At most one handle should be created at a time for a given terminal device.

The specified configuration is added to the the configuration loaded by userConfig with the userConfig configuration taking precedence. See Graphics.Vty.Config.

For most applications mkVty defaultConfig is sufficient.