X-Git-Url: https://git.donarmstrong.com/?p=term-progressbar.git;a=blobdiff_plain;f=lib%2FTerm%2FProgressBar.pm;h=3ef4e558e7a408452d21ee29cbc3562c92b73f3f;hp=fb52eef56247a7f893822330e3ad80cf9ed7c42e;hb=7bf705dc021f3d89cb56754c5a270004e3d2d08b;hpb=8f68d2dedca4a1090405888d6045f1436e31dab1 diff --git a/lib/Term/ProgressBar.pm b/lib/Term/ProgressBar.pm index fb52eef..3ef4e55 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.