The terminal-size package

[Tags:bsd3, library]

Get terminal window height and width without ncurses dependency.


[Skip to Readme]

Properties

Versions 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.*), ghc-prim, process [details]
License BSD3
Author Andreas Hammar, Matvey Aksenov
Maintainer matvey.aksenov@gmail.com
Stability Unknown
Category System
Source repository head: git clone https://github.com/biegunka/terminal-size
this: git clone https://github.com/biegunka/terminal-size(tag 0.3.2.1)
Uploaded Sun Nov 1 15:10:47 UTC 2015 by MatveyAksenov
Distributions Arch:0.3.2.1, Debian:0.3.2.1, LTSHaskell:0.3.2.1, NixOS:0.3.2.1, Stackage:0.3.2.1, Tumbleweed:0.3.2.1
Downloads 4025 total (81 in the last 30 days)
Votes
1 []
Status Docs available [build log]
Last success reported on 2015-11-01 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for terminal-size

Readme for terminal-size-0.3.2.1

terminal-size

Hackage Build Status

Get terminal window width and height

Usage

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