René's URL Explorer Experiment


Title: fix: forward OSC 52 copies to the browser clipboard by yasir-erkam · Pull Request #8061 · coder/code-server · GitHub

Open Graph Title: fix: forward OSC 52 copies to the browser clipboard by yasir-erkam · Pull Request #8061 · coder/code-server

X Title: fix: forward OSC 52 copies to the browser clipboard by yasir-erkam · Pull Request #8061 · coder/code-server

Description: OSC 52 copy requests from terminal applications can report success while leaving the browser clipboard unchanged. The terminal provider explicitly passes clipboard, but BrowserClipboardService routes explicitly typed writes into an internal map instead of calling the browser clipboard API. Add a VS Code patch that uses the default clipboard destination for normal OSC 52 writes. PRIMARY selection and clipboard reads stay unchanged. This fixes copying in fullscreen CLI applications without changing their display settings. Related upstream issue: microsoft/vscode#318254. Existing upstream fixes microsoft/vscode#318255 and microsoft/vscode#334287 remain open; this patch covers the write path while those fixes are pending. Reproduce by seeding the clipboard, running this in the integrated terminal, then pasting into an editor: printf '\033]52;c;Q0xJUEJPQVJEX1RFU1Q=\007' Before: the previous clipboard value remains. After: CLIPBOARD_TEST is pasted. Validation: Patch applies to the VS Code commit pinned by current main; TypeScript syntax and patch whitespace checks passed. Six isolated checks pass with the fix, including PRIMARY separation, unchanged reads and the browser-write fallback. Four of those fail on the unmodified source. The equivalent bundle fix was verified interactively in code-server 4.140.0 / VS Code 1.140.0 with Codex CLI 0.162.1, after confirming the browser loaded the modified bundle rather than a stale CDN copy. Normal fullscreen selection and Ctrl+C work. Adds four destination-mapping tests and a Playwright terminal-to-browser clipboard test. The full VS Code and Playwright suites were not run locally; CI validation is still needed.

Open Graph Description: OSC 52 copy requests from terminal applications can report success while leaving the browser clipboard unchanged. The terminal provider explicitly passes clipboard, but BrowserClipboardService rout...

X Description: OSC 52 copy requests from terminal applications can report success while leaving the browser clipboard unchanged. The terminal provider explicitly passes clipboard, but BrowserClipboardService rout...

Opengraph URL: https://github.com/coder/code-server/pull/8061

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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:b093d5f4-947a-2059-89ce-8594280505ff
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE734:14562A:3C3ABC:518425:6B043817
html-safe-nonce596b7d13a6803908613eba1848e2d19427f468c10dfaaea9a8f3a632423c8b2c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzM0OjE0NTYyQTozQzNBQkM6NTE4NDI1OjZCMDQzODE3IiwidmlzaXRvcl9pZCI6IjY5MTc0NjA4NjgzMDU1MzI5NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac98f0c941fbd9ebb0b422debc21ec43ba42c318b6cd7f8b882e80f3a52b1826af
hovercard-subject-tagpull_request:4893026766
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/coder/code-server/pull/8061/files
twitter:imagehttps://avatars.githubusercontent.com/u/27684451?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/27684451?s=400&v=4
og:image:altOSC 52 copy requests from terminal applications can report success while leaving the browser clipboard unchanged. The terminal provider explicitly passes clipboard, but BrowserClipboardService rout...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/coder/code-server/pull/8061/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F8061%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.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F8061%2Ffiles
Sign uphttps://github.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=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/pull/8061/files
Reloadhttps://github.com/coder/code-server/pull/8061/files
Reloadhttps://github.com/coder/code-server/pull/8061/files
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests15 (15)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcode-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcode-server%2Fissues%2Fnew%2Fchoose
yasir-erkamhttps://github.com/yasir-erkam
coder:mainhttps://github.com/coder/code-server/tree/main
yasir-erkam:fix/terminal-osc52-web-clipboardhttps://github.com/yasir-erkam/code-server/tree/fix/terminal-osc52-web-clipboard
Conversation 2 https://github.com/coder/code-server/pull/8061
Commits 2 https://github.com/coder/code-server/pull/8061/commits
Checks 0 https://github.com/coder/code-server/pull/8061/checks
Files changed https://github.com/coder/code-server/pull/8061/files
Please reload this pagehttps://github.com/coder/code-server/pull/8061/files
fix: forward OSC 52 copies to the browser clipboard https://github.com/coder/code-server/pull/8061/files#top
Show all changes 2 commits https://github.com/coder/code-server/pull/8061/files
6fa73e4 fix: route OSC 52 copies to browser clipboard yasir-erkam Oct 16, 2026 https://github.com/coder/code-server/pull/8061/commits/6fa73e4ed24e04f68bcd845189515b9c4ed6f4e6
5d3aa2b test: enable and cover OSC 52 browser clipboard fix yasir-erkam Oct 16, 2026 https://github.com/coder/code-server/pull/8061/commits/5d3aa2bca3e9f4b952f45a061d725ddf4382ad37
Clear filters https://github.com/coder/code-server/pull/8061/files
Please reload this pagehttps://github.com/coder/code-server/pull/8061/files
Please reload this pagehttps://github.com/coder/code-server/pull/8061/files
CHANGELOG.md https://github.com/coder/code-server/pull/8061/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
series https://github.com/coder/code-server/pull/8061/files#diff-d6f19469bd3dd1daec926b99bf179ec128fff3631356f24af05320c1827f1e46
terminal-clipboard.diff https://github.com/coder/code-server/pull/8061/files#diff-35f3a83547914aa16298b6adfbc9449da50cb90dc8ec65edc80b321b709cb0d9
terminal.test.ts https://github.com/coder/code-server/pull/8061/files#diff-57ef5082257832f79be218bb8f3a598ed99dc469b8d49bb59b9ea3748c788a8d
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
CHANGELOG.mdhttps://github.com/coder/code-server/pull/8061/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/coder/code-server/blob/5d3aa2bca3e9f4b952f45a061d725ddf4382ad37/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8061/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/8061/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/coder/code-server/pull/8061/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
patches/serieshttps://github.com/coder/code-server/pull/8061/files#diff-d6f19469bd3dd1daec926b99bf179ec128fff3631356f24af05320c1827f1e46
View file https://github.com/coder/code-server/blob/5d3aa2bca3e9f4b952f45a061d725ddf4382ad37/patches/series
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8061/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/8061/files#diff-d6f19469bd3dd1daec926b99bf179ec128fff3631356f24af05320c1827f1e46
https://github.com/coder/code-server/pull/8061/files#diff-d6f19469bd3dd1daec926b99bf179ec128fff3631356f24af05320c1827f1e46
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
patches/terminal-clipboard.diffhttps://github.com/coder/code-server/pull/8061/files#diff-35f3a83547914aa16298b6adfbc9449da50cb90dc8ec65edc80b321b709cb0d9
View file https://github.com/coder/code-server/blob/5d3aa2bca3e9f4b952f45a061d725ddf4382ad37/patches/terminal-clipboard.diff
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8061/{{ revealButtonHref }}
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
test/e2e/terminal.test.tshttps://github.com/coder/code-server/pull/8061/files#diff-57ef5082257832f79be218bb8f3a598ed99dc469b8d49bb59b9ea3748c788a8d
View file https://github.com/coder/code-server/blob/5d3aa2bca3e9f4b952f45a061d725ddf4382ad37/test/e2e/terminal.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/8061/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/8061/files#diff-57ef5082257832f79be218bb8f3a598ed99dc469b8d49bb59b9ea3748c788a8d
https://github.com/coder/code-server/pull/8061/files#diff-57ef5082257832f79be218bb8f3a598ed99dc469b8d49bb59b9ea3748c788a8d
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.