René's URL Explorer Experiment


Title: Terminal loses text selection whenever a TUI enables mouse reporting — no way to opt out in the browser · Issue #7938 · coder/code-server · GitHub

Open Graph Title: Terminal loses text selection whenever a TUI enables mouse reporting — no way to opt out in the browser · Issue #7938 · coder/code-server

X Title: Terminal loses text selection whenever a TUI enables mouse reporting — no way to opt out in the browser · Issue #7938 · coder/code-server

Description: What happens Any TUI that enables mouse reporting (CSI ? 1000 h) takes the click away from xterm.js, so a plain drag in the terminal no longer creates a selection. On the desktop that is annoying; in code-server it removes the last relia...

Open Graph Description: What happens Any TUI that enables mouse reporting (CSI ? 1000 h) takes the click away from xterm.js, so a plain drag in the terminal no longer creates a selection. On the desktop that is annoying; ...

X Description: What happens Any TUI that enables mouse reporting (CSI ? 1000 h) takes the click away from xterm.js, so a plain drag in the terminal no longer creates a selection. On the desktop that is annoying; ...

Opengraph URL: https://github.com/coder/code-server/issues/7938

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Terminal loses text selection whenever a TUI enables mouse reporting — no way to opt out in the browser","articleBody":"\u003c!-- Type: Feature Request / upstream tracking. Repo: coder/code-server -->\n\n### What happens\n\nAny TUI that enables mouse reporting (`CSI ? 1000 h`) takes the click away from xterm.js, so a plain drag in the terminal no longer creates a selection. On the desktop that is annoying; in `code-server` it removes the last reliable path to the OS clipboard, because the DOM selection is what the browser's own copy relies on — the VS Code copy commands go through an async IPC hop that loses the clipboard user-gesture.\n\nConcretely: with a full-screen TUI running (e.g. Claude Code with `tui: fullscreen`), users cannot copy terminal text out of the browser at all, unless they know that `Shift`+drag forces a selection.\n\n### Measured\n\nLoaded the exact `@xterm/xterm` build shipped by code-server (6.1.0-beta.291) standalone and drove it with real mouse events:\n\n| Mouse tracking armed | plain drag | `Shift` + drag |\n|---|---|---|\n| none | selection | selection |\n| `?1000h ?1006h` | nothing | selection |\n| `?1000h ?1002h ?1003h ?1006h` | nothing | selection |\n\n### Ask\n\nxterm.js already has the option that solves this — `mouseEventsRequireAlt`, which keeps tracking armed but only claims the click while a modifier is held. It is not referenced anywhere in the VS Code build that code-server ships, so it stays at its default.\n\nI have opened an upstream request for VS Code to expose it as a terminal setting: https://github.com/microsoft/vscode/issues/330052. Filing here as well because the browser case is materially worse than the desktop one, and because code-server may want to set the option (or surface a preference) ahead of upstream.\n\nAt minimum, documenting `Shift`+drag as the escape hatch in the terminal FAQ would already help.","author":{"url":"https://github.com/dede34fr","@type":"Person","name":"dede34fr"},"datePublished":"2026-08-10T18:46:13Z","url":"https://github.com/coder/code-server/issues/7938"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3f6f7071-eed1-ddf3-baf9-673627e7d50c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE6B8:1B4D88:1B138:23457:6B042EF1
html-safe-nonce7e5c5727ee439cf0bb4a3bd3e36ee861067e379a7747443203588d0683d2b7bc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkI4OjFCNEQ4ODoxQjEzODoyMzQ1Nzo2QjA0MkVGMSIsInZpc2l0b3JfaWQiOiI3MTM5NzgyMTk1NzMwMzA2NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5c7933340d621a4c54117a2a3db4f3fac09071c4408e0e22c44480c4e2d23415
hovercard-subject-tagissue:5113306733
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/7938/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cbada6173bfa344af094ee67d0dcf7dafcd4c8acf1515082afb68f44815aba85/coder/code-server/issues/7938
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cbada6173bfa344af094ee67d0dcf7dafcd4c8acf1515082afb68f44815aba85/coder/code-server/issues/7938
og:image:altWhat happens Any TUI that enables mouse reporting (CSI ? 1000 h) takes the click away from xterm.js, so a plain drag in the terminal no longer creates a selection. On the desktop that is annoying; ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedede34fr
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/7938#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F7938
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%2Fissues%2F7938
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/7938
Reloadhttps://github.com/coder/code-server/issues/7938
Reloadhttps://github.com/coder/code-server/issues/7938
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
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7938
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7938
Terminal loses text selection whenever a TUI enables mouse reporting — no way to opt out in the browserhttps://github.com/coder/code-server/issues/7938#top
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
https://github.com/dede34fr
dede34frhttps://github.com/dede34fr
on Aug 10, 2026https://github.com/coder/code-server/issues/7938#issue-5113306733
microsoft/vscode#330052https://github.com/microsoft/vscode/issues/330052
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Aug 10, 2026https://github.com/coder/code-server/issues/7938#issuecomment-5244509044
Linear Codehttps://linear.app
DEVEX-753https://linear.app/codercom/issue/DEVEX-753
coder-labelerhttps://github.com/apps/coder-labeler
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
on Aug 10, 2026https://github.com/coder/code-server/issues/7938#event-29240819136
matifalihttps://github.com/matifali
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
on Aug 10, 2026https://github.com/coder/code-server/issues/7938#event-29241071509
https://github.com/sumitjhacodes
sumitjhacodeshttps://github.com/sumitjhacodes
on Sep 11, 2026https://github.com/coder/code-server/issues/7938#issuecomment-5633974101
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Sep 11, 2026https://github.com/coder/code-server/issues/7938#issuecomment-5639552811
@sumitjhacodeshttps://github.com/sumitjhacodes
code-asherhttps://github.com/code-asher
commenthttps://github.com/coder/code-server/issues/7938#issuecomment-5639552811
on Sep 11, 2026https://github.com/coder/code-server/issues/7938#event-30994687730
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/7938
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7938
bugSomething isn't workinghttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22bug%22
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.