number of columns for formatted output? #2

daleolds opened this Issue May 21, 2012 · 0 comments


None yet
1 participant

It would be nice if Interact could supply the caller with the number of columns in the terminal (and perhaps 0 if stdout is not a tty). Other cli helper gems do this (e.g. highline and thor), with varied portability and usabiity. It would be good to be able to get a functioning and portable implementation without the dependency on another gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment