terminal-size

Get terminal window height and width

Version on this page:0.3.2.1
LTS Haskell 12.22:0.3.2.1
Stackage Nightly 2018-12-10:0.3.2.1
Latest on Hackage:0.3.2.1

See all snapshots terminal-size appears in

BSD3 licensed by Andreas Hammar, Matvey Aksenov
Maintained by matvey.aksenov@gmail.com

Module documentation for 0.3.2.1

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

0.3.2

0.3.1

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

0.3.0

comments powered byDisqus