HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulevty-crossplatform-0.4.0.0Haskell2010

Graphics.Vty.CrossPlatform

This module exposes a simple API to initialize Vty in a platform-independent way. This module only provides mkVty for initializing the terminal. The rest of the Vty API is accessed through the vty package's API. If you need access to platform-specific settings, it might be best to depend on and use the platform-specific packages directly instead of using this package.

  • 1 value
valuemkVty
  1. :: VtyUserConfig

    The configuration to use, usually defaultConfig or the result of userConfig.

  2. -> IO Vty
#

Build a Vty handle with the specified configuration.

This dispatches to the appropriate platform-specific implementation at build time based on the build environment's operating system.