RubyGems Navigation menu

terminal-size 0.0.4

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

Versions:

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

Authors:

  • ☈king, Norrin

Owners:

5d4957d2bb80d56a42ebd53f7add0b8e

Sha 256 checksum:

ae9eebb4806096987503a3888957f949cbf936e562cfb88a0efd0d628da43819

Total downloads 5,252

For this version 866

Show all versions (6 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: