HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulevty-unix-0.2.0.0Haskell2010

Graphics.Vty.Platform.Unix.Output

This module provides a function to build an Output for Unix terminal devices.

This module is exposed for testing purposes only; applications should never need to import this directly.

  • 1 value
  • Packagevty-unix-0.2.0.0
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceOutput.hs

Returns an Output for the terminal specified in UnixSettings.

The specific output implementation chosen is based on the TERM environment variable and ultimately uses Graphics.Vty.Platform.Unix.Output.XTermColor for terminals that look xterm-like or Graphics.Vty.Platform.Unix.Output.TerminfoBased as a fallback otherwise.

  • If TERM starts with xterm, screen, rxvt, or tmux, this will the xterm-based implementation.

  • Otherwise this will use the TerminfoBased implementation.