RubyGems Navigation menu

terminal-size 0.0.6

A tiny gem to accomplish a simple task: Determining the terminal size.

Usage

p Terminal.size # ⇒ {height: 90, width: 161}
p Terminal.size! # to get 80×25 as a fallback instead of nil

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.6 - January 09, 2013 (12 KB)
  2. 0.0.5 - January 07, 2013 (12 KB)
  3. 0.0.4 - January 07, 2013 (12 KB)
  4. 0.0.3 - January 07, 2013 (12 KB)
  5. 0.0.2 - January 07, 2013 (12 KB)
Show all versions (6 total)

Owners:

Authors:

  • ☈king, Norrin

SHA 256 checksum:

a1e3d1f038fad1f40353d60440146c09abaa05bc5d46964f0d7bf175727b51f4

Total downloads 47,508

For this version 33,919

Licenses:

N/A

Required Ruby Version: None

Links: