From 71fdbd8c65797c19c2f93d4587213d6d58774fa8 Mon Sep 17 00:00:00 2001 From: danmillermketool Date: Thu, 2 Apr 2026 17:51:50 -0500 Subject: [PATCH] Correct Progress example The progress example used `progress.advance` as if it was setting the progress amount - in fact, it advances the progress amount forward by the given amount. This small correction I hope will make this distinction more obvious, as it tripped me up just now. --- packages/prompts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/prompts/README.md b/packages/prompts/README.md index 4ee4b9b0..7a4ae381 100644 --- a/packages/prompts/README.md +++ b/packages/prompts/README.md @@ -262,7 +262,7 @@ p.start('Downloading archive'); // Do download here p.advance(3, 'Downloading (30%)'); // ... -p.advance(8, 'Downloading (80%)'); +p.advance(5, 'Downloading (80%)'); // ... p.stop('Archive downloaded'); ```