Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- mkVty :: VtyUserConfig -> IO Vty
- mkVtyWithSettings :: VtyUserConfig -> WindowsSettings -> IO Vty
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.