René's URL Explorer Experiment


Title: Keep curtsies output without a newline with its prompt by Hugohong258 · Pull Request #1061 · bpython/bpython · GitHub

Open Graph Title: Keep curtsies output without a newline with its prompt by Hugohong258 · Pull Request #1061 · bpython/bpython

X Title: Keep curtsies output without a newline with its prompt by Hugohong258 · Pull Request #1061 · bpython/bpython

Description: After print("Hello!", end=""), pressing Enter moves Hello! down to the new prompt. Each subsequent Enter moves it again. The curtsies frontend now keeps pending output with the input line that followed it. Undoing an empty prompt restores the pending output, and session export retains it in order. Fixes #1050. The rendering regression failed on the unmodified implementation. On WSL Ubuntu with Python 3.14.4, python -m pytest -q --tb=short reported 315 passed, 14 skipped, 3 xfailed, and 3 subtests passed. Codespell passed on the changed files. Black 26.10.1 reports the same formatting difference in version_help_text on the base and the patch. The CI platform and interpreter matrix was not run locally. This patch and its tests were prepared with AI assistance.

Open Graph Description: After print("Hello!", end=""), pressing Enter moves Hello! down to the new prompt. Each subsequent Enter moves it again. The curtsies frontend now keeps pending output with the ...

X Description: After print("Hello!", end=""), pressing Enter moves Hello! down to the new prompt. Each subsequent Enter moves it again. The curtsies frontend now keeps pending ...

Opengraph URL: https://github.com/bpython/bpython/pull/1061

X: @github

direct link

Domain: github-redirect.dependabot.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8e3ecff0-a40d-c542-747a-51592c21d6c3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id888E:EA09B:38BC9E3:4B2C31C:6B0213F9
html-safe-nonce9473f799a4796acc38ad624b90f50a653f46fd4cfb5d1b079311132bb5b443e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODhFOkVBMDlCOjM4QkM5RTM6NEIyQzMxQzo2QjAyMTNGOSIsInZpc2l0b3JfaWQiOiI2MzI5NjQ3NTUxMDcwOTk5NTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7981cd4e4f73a536d8a642463389c0310a50ba6f5c640e92aefb712d5638e8d0
hovercard-subject-tagpull_request:5282025101
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/bpython/bpython/pull/1061/files
twitter:imagehttps://avatars.githubusercontent.com/u/282228220?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/282228220?s=400&v=4
og:image:altAfter print("Hello!", end=""), pressing Enter moves Hello! down to the new prompt. Each subsequent Enter moves it again. The curtsies frontend now keeps pending output with the ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/bpython/bpython git https://github.com/bpython/bpython.git
octolytics-dimension-user_id8071396
octolytics-dimension-user_loginbpython
octolytics-dimension-repository_id21508865
octolytics-dimension-repository_nwobpython/bpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21508865
octolytics-dimension-repository_network_root_nwobpython/bpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#start-of-content
https://github-redirect.dependabot.com/
Sign inhttps://github-redirect.dependabot.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbpython%2Fbpython%2Fpull%2F1061%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github-redirect.dependabot.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbpython%2Fbpython%2Fpull%2F1061%2Ffiles
Sign uphttps://github-redirect.dependabot.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=bpython%2Fbpython
Reloadhttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
Reloadhttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
Reloadhttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
bpythonhttps://github-redirect.dependabot.com/bpython
bpythonhttps://github-redirect.dependabot.com/bpython/bpython
Codehttps://github-redirect.dependabot.com/bpython/bpython
Issues125 (125)https://github-redirect.dependabot.com/bpython/bpython/issues
Pull requests6 (6)https://github-redirect.dependabot.com/bpython/bpython/pulls
Actionshttps://github-redirect.dependabot.com/bpython/bpython/actions
Projectshttps://github-redirect.dependabot.com/bpython/bpython/projects
Wikihttps://github-redirect.dependabot.com/bpython/bpython/wiki
Security and qualityhttps://github-redirect.dependabot.com/bpython/bpython/security
Insightshttps://github-redirect.dependabot.com/bpython/bpython/insights
Sign up for GitHub https://github-redirect.dependabot.com/signup?return_to=%2Fbpython%2Fbpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github-redirect.dependabot.com/login?return_to=%2Fbpython%2Fbpython%2Fissues%2Fnew%2Fchoose
Hugohong258https://github-redirect.dependabot.com/Hugohong258
bpython:mainhttps://github-redirect.dependabot.com/bpython/bpython/tree/main
Hugohong258:fix-curtsies-partial-outputhttps://github-redirect.dependabot.com/Hugohong258/bpython/tree/fix-curtsies-partial-output
Conversation 2 https://github-redirect.dependabot.com/bpython/bpython/pull/1061
Commits 2 https://github-redirect.dependabot.com/bpython/bpython/pull/1061/commits
Checks 11 https://github-redirect.dependabot.com/bpython/bpython/pull/1061/checks
Files changed 3 https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
Keep curtsies output without a newline with its prompt https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#top
Show all changes 2 commits https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
19a8e1b Keep partial curtsies output with its prompt Hugohong258 Nov 12, 2026 https://github-redirect.dependabot.com/bpython/bpython/pull/1061/commits/19a8e1b2adf17b050c394603ba4f3a2dd8e04873
0a67825 Merge current main into fix-curtsies-partial-output Hugohong258 Nov 12, 2026 https://github-redirect.dependabot.com/bpython/bpython/pull/1061/commits/0a67825246e42a0af5ed1ffd48921e5a6f8084a6
Clear filters https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
Please reload this pagehttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
Please reload this pagehttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
CHANGELOG.rst https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-2c623f3c6a917be56c59d43279244996836262cb1e12d9d0786c9c49eef6b43c
repl.py https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
test_curtsies_painting.py https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-e29d0f4d2fe18144d6d52a7bb9815c13ec227878557de3201be93c6c7b5f1e51
CHANGELOG.rsthttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-2c623f3c6a917be56c59d43279244996836262cb1e12d9d0786c9c49eef6b43c
View file https://github-redirect.dependabot.com/bpython/bpython/blob/0a67825246e42a0af5ed1ffd48921e5a6f8084a6/CHANGELOG.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/{{ revealButtonHref }}
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-2c623f3c6a917be56c59d43279244996836262cb1e12d9d0786c9c49eef6b43c
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-2c623f3c6a917be56c59d43279244996836262cb1e12d9d0786c9c49eef6b43c
bpython/curtsiesfrontend/repl.pyhttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
View file https://github-redirect.dependabot.com/bpython/bpython/blob/0a67825246e42a0af5ed1ffd48921e5a6f8084a6/bpython/curtsiesfrontend/repl.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/{{ revealButtonHref }}
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-b669a918e50eec9d90d46c9065aad08832eabe48b7bab1fe63767e9f4423789d
bpython/test/test_curtsies_painting.pyhttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-e29d0f4d2fe18144d6d52a7bb9815c13ec227878557de3201be93c6c7b5f1e51
View file https://github-redirect.dependabot.com/bpython/bpython/blob/0a67825246e42a0af5ed1ffd48921e5a6f8084a6/bpython/test/test_curtsies_painting.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/{{ revealButtonHref }}
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-e29d0f4d2fe18144d6d52a7bb9815c13ec227878557de3201be93c6c7b5f1e51
https://github-redirect.dependabot.com/bpython/bpython/pull/1061/files#diff-e29d0f4d2fe18144d6d52a7bb9815c13ec227878557de3201be93c6c7b5f1e51
Please reload this pagehttps://github-redirect.dependabot.com/bpython/bpython/pull/1061/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.