terminal-size

Get terminal window height and width

Version on this page:0.3.0
LTS Haskell 9.6:0.3.2.1
Stackage Nightly 2017-09-25:0.3.2.1
Latest on Hackage:0.3.2.1
BSD3 licensed by Andreas Hammar, Matvey Aksenov
Maintained by matvey.aksenov@gmail.com

Module documentation for 0.3.0

There are no documented modules for this package.

terminal-size

Hackage Build Status

Get terminal window width and height

Usage

>>> import System.Console.Terminal.Size
>>> size
Just (Window {height = 60, width = 112})

Changes

0.3.2.1

  • GHC 7.2 support (https://github.com/biegunka/terminal-size/pull/9)

0.3.2

  • Cygwin/MSYS support (https://github.com/biegunka/terminal-size/pull/8)

0.3.1

  • Typeable, Data, Generic, and Generic1 instances for Window.

0.3.0

  • Windows support (https://github.com/biegunka/terminal-size/pull/4)

  • Added Eq, Foldable and Traversable instances for Window

comments powered byDisqus