GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Support incremental output in the pager by kdeldycke · Pull Request #3534 · pallets/click

Conversation

@kdeldycke

@kdeldycke kdeldycke commented May 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

This is a simple fix that let the pager incrementally output the chunks of text produced by a generator instead of waiting for it to flush automatically.

So in substance, instead of doing write write write write flush, we do write flush write flush write flush....

Closes #3242 and #2542.

Context: stumble upon that quick fix while working on #3533.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kdeldycke
kdeldycke marked this pull request as draft May 29, 2026 14:49
This was linked to issues May 29, 2026
echo_via_pager not working as expected with generators #2542
Closed
Flush stdin after writing to a pager #3242
Closed
@kdeldycke kdeldycke added this to the 8.4.2 milestone May 29, 2026
@kdeldycke
Support incremental output in the pager
399919f
Closes pallets#3242 and pallets#2542
@kdeldycke
kdeldycke force-pushed the fix-pager-streaming-flush branch from a532677 to 399919f Compare May 29, 2026 14:51
@kdeldycke kdeldycke added the bug label May 29, 2026
This was referenced May 29, 2026
Flush stdin after writing to a pager #3242
Closed
echo_via_pager not working as expected with generators #2542
Closed
@kdeldycke
kdeldycke requested review from Rowlando13 and davidism May 29, 2026 14:55
@kdeldycke
kdeldycke marked this pull request as ready for review May 29, 2026 14:56
@Rowlando13
Rowlando13 merged commit cd9bdd9 into pallets:stable May 30, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@kdeldycke
kdeldycke deleted the fix-pager-streaming-flush branch June 3, 2026 11:47
@pallets pallets deleted a comment from heziamo Jun 7, 2026
@kdeldycke kdeldycke mentioned this pull request Jun 18, 2026
Streaming of CLI output kdeldycke/meta-package-manager#528
Closed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 25, 2026
@kdeldycke kdeldycke added the help output Help text formatting, layout, and --help rendering label Aug 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@davidism davidism Awaiting requested review from davidism
@Rowlando13 Rowlando13 Awaiting requested review from Rowlando13

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

help output Help text formatting, layout, and --help rendering

Projects

None yet

Milestone

8.4.2

Development

Successfully merging this pull request may close these issues.

Flush stdin after writing to a pager echo_via_pager not working as expected with generators

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@kdeldycke @Rowlando13
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.