Skip to content

_pyrepl/pager.py: call less with --clear-screen#146382

Open
StanFromIreland wants to merge 1 commit intopython:mainfrom
StanFromIreland:pager-less
Open

_pyrepl/pager.py: call less with --clear-screen#146382
StanFromIreland wants to merge 1 commit intopython:mainfrom
StanFromIreland:pager-less

Conversation

@StanFromIreland
Copy link
Member

Since this is only a cosmetic change, I don't think it qualifies for a news entry.

Currently, text is written bottom-to-top, resulting in odd placement for copyright():

Screenshot From 2026-03-24 15-30-53

This patch fixes that:

image

By passing --clear-screen (-c) to less, which "causes full screen repaints to be painted from the top line down."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant