From a2127d52b1fb103d429fcd4f1d6d2984549a6f18 Mon Sep 17 00:00:00 2001 From: Ovid Date: Fri, 12 Jul 2013 12:48:37 +0200 Subject: [PATCH 1/1] Document the term_width argument to the constructor. --- lib/Term/ProgressBar.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Term/ProgressBar.pm b/lib/Term/ProgressBar.pm index 01a4bd2..eecbaa3 100644 --- a/lib/Term/ProgressBar.pm +++ b/lib/Term/ProgressBar.pm @@ -358,6 +358,12 @@ The filehandle to output to. Defaults to stderr. Do not try to use *foo{THING} syntax if you want Term capabilities; it does not work. Pass in a globref instead. +=item term_width + +Sometimes we can't correctly determine the terminal width. You can use this +parameter to force a term width of a particular size. Use a positive integer, +please :) + =item ETA A total time estimation to use. If enabled, a time finished estimation is -- 2.39.2