From 8d2dd49716c3bf9439e6f1ed192edf46570874de Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 10 Aug 2016 16:09:19 -0700 Subject: lstwitch and lstwitchfollowers: add width minimum to keep from breaking (FIXME: make more efficient use of space) --- lstwitchfollowers.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lstwitchfollowers.rb') diff --git a/lstwitchfollowers.rb b/lstwitchfollowers.rb index 296b4e9..69d8ec2 100755 --- a/lstwitchfollowers.rb +++ b/lstwitchfollowers.rb @@ -15,6 +15,10 @@ http.read_timeout = 500 width = `stty size`.split[1].to_i +if width < 97 + width=97 +end + def followers(http, path, key, width) total = 100 -- cgit v1.2.3