X-Git-Url: https://git.donarmstrong.com/?p=term-progressbar.git;a=blobdiff_plain;f=lib%2FTerm%2FProgressBar.pm;fp=lib%2FTerm%2FProgressBar.pm;h=dcbc252860863d9b4ad8c1b0a6c1cab259ac9cf8;hp=f800aff1ef0b8b0b597e17c3a246a46092fa099d;hb=3c81f09f8a35c65542ddd71e115d06ea44f3478f;hpb=fbe3bb7a58f45c2ce7b8b7a607ee1b53ee1049ea diff --git a/lib/Term/ProgressBar.pm b/lib/Term/ProgressBar.pm index f800aff..dcbc252 100644 --- a/lib/Term/ProgressBar.pm +++ b/lib/Term/ProgressBar.pm @@ -32,7 +32,7 @@ A typical use sets up the progress bar with a number of items to do, and then calls L to update the bar whenever an item is processed. Often, this would involve updating the progress bar many times with no -user-visible change. To avoid uneccessary work, the update method returns a +user-visible change. To avoid unnecessary work, the update method returns a value, being the update value at which the user will next see a change. By only calling update when the current value exceeds the next update value, the call overhead is reduced.