terminal-size

Get terminal window height and width

Version on this page:0.3.2.1
LTS Haskell 22.39:0.3.4@rev:1
Stackage Nightly 2024-10-31:0.3.4@rev:1
Latest on Hackage:0.3.4@rev:1

See all snapshots terminal-size appears in

BSD-3-Clause licensed by Andreas Hammar, Matvey Aksenov
Maintained by [email protected]
This version can be pinned in stack with:terminal-size-0.3.2.1@sha256:7b2d8e0475a46961d07ddfb91dee618de70eff55d9ba0402ebeac1f9dcf9b18b,1259

Module documentation for 0.3.2.1

Depends on 1 package(full list with versions):
Used by 4 packages in nightly-2016-02-13(full list with versions):

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