RubyGems.org

winsize

2.0.0

winsize adds 2 methods: winsize and winsize= to IO that allows you to control the size of a tty window. Mainly used with pty to deal with executables that word wrap (i.e. top). *If you are using ruby 1.9.3 this gem is not needed. require "io/console" provides the same functionality.*

installgem install winsize
Authors

Samuel Kadolph

2,405 total downloads 537 for this version
Owners

53150995c134902b9790479b76f1845c

Licenses

MIT

Gemfile
gem 'winsize', '~> 2.0.0'
Versions
  1. 2.0.0 June 3, 2013 (7 KB)
  2. 1.0.1 August 23, 2011 (5.5 KB)
  3. 1.0.0 May 24, 2011 (5.5 KB)