terminal-size: Get terminal window height and width

[ bsd3, library, system ] [ Propose Tags ]

Get terminal window height and width without ncurses dependency.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.3.0, 0.3.1, 0.3.2, 0.3.2.1
Change log CHANGELOG.markdown
Dependencies base (>=4 && <4.4 || >=4.5 && <5), ghc-prim, process [details]
License BSD-3-Clause
Author Andreas Hammar, Matvey Aksenov
Maintainer matvey.aksenov@gmail.com
Revised Revision 1 made by AdamBergmark at 2015-11-01T12:38:41Z
Category System
Source repo head: git clone https://github.com/biegunka/terminal-size
this: git clone https://github.com/biegunka/terminal-size(tag 0.3.2)
Uploaded by MatveyAksenov at 2015-05-29T06:48:50Z
Distributions Arch:0.3.2.1, Debian:0.3.2.1, Fedora:0.3.2.1, LTSHaskell:0.3.2.1, NixOS:0.3.2.1, Stackage:0.3.2.1, openSUSE:0.3.2.1
Downloads 25612 total (613 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-05-29 [all 1 reports]

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for terminal-size-0.3.2

[back to package description]

terminal-size

Hackage Build Status

Get terminal window width and height

Usage

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