Categories: None [Edit]
terminal-size
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
Total
Ranking: 24,914 of 192,034
Downloads: 60,110
Daily
Ranking: 43,942 of 191,980
Downloads: 7
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 183,151 | 1,192 | ashcards |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | sharpsaw |