terminal-size

Get terminal window height and width

Version on this page:[email protected]:1
LTS Haskell 15.15:0.3.2.1
Stackage Nightly 2020-06-05:0.3.2.1
Latest on Hackage:0.3.2.1

See all snapshots terminal-size appears in

BSD-3-Clause licensed by Andreas Hammar, Matvey Aksenov
Maintained by [email protected]

Module documentation for 0.3.2

This version can be pinned in stack with:[email protected]:9d18011d0c8779a7e928602d6750ca1f7cd069a7a1a08ca59224590bb250a955,1350

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

0.3.1

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

0.3.0

Depends on 1 package(full list with versions):
Used by 1 package in lts-2.22(full list with versions):