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.*) [details]
License BSD-3-Clause
Author Andreas Hammar, Matvey Aksenov
Maintainer matvey.aksenov@gmail.com
Category System
Source repo head: git clone https://github.com/biegunka/terminal-size
Uploaded by MatveyAksenov at Fri Nov 7 19:40:36 UTC 2014
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 20117 total (271 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for terminal-size-0.3.0

[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})