]> git.donarmstrong.com Git - term-progressbar.git/blobdiff - lib/Term/ProgressBar.pm
Document the term_width argument to the constructor.
[term-progressbar.git] / lib / Term / ProgressBar.pm
index f800aff1ef0b8b0b597e17c3a246a46092fa099d..eecbaa35daa6162c9cfd67875f871be5abc88fd6 100644 (file)
@@ -252,7 +252,7 @@ use constant DEBUG => 0;
 
 use vars qw($PACKAGE $VERSION);
 $PACKAGE = 'Term-ProgressBar';
-$VERSION = '2.13';
+$VERSION = '2.14';
 
 # ----------------------------------
 # CLASS CONSTRUCTION
@@ -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