RubyGems Navigation menu

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.*

Gemfile
          gem 'winsize', '~> 2.0.0'
  
  
  
  
  
  
  

install
          gem install winsize
  
  
  
  
  
  
  

Licenses:

  • MIT

Total downloads 2,538

For this version 585

Required Ruby Version: None

Links:

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)