Title: id(ssh): use the alternate screen for raw interactive SSH sessions · Issue #545 · developing-today/code · GitHub
Open Graph Title: id(ssh): use the alternate screen for raw interactive SSH sessions · Issue #545 · developing-today/code
X Title: id(ssh): use the alternate screen for raw interactive SSH sessions · Issue #545 · developing-today/code
Description: What and why Wrap interactive sessions in \x1b[?1049h/l so game repaints do not pile cleared frames into scrollback. REF wrongly claims this is already on main; RPT corrects it. Every view is a primary-screen clear and repaint, so game r...
Open Graph Description: What and why Wrap interactive sessions in \x1b[?1049h/l so game repaints do not pile cleared frames into scrollback. REF wrongly claims this is already on main; RPT corrects it. Every view is a pri...
X Description: What and why Wrap interactive sessions in \x1b[?1049h/l so game repaints do not pile cleared frames into scrollback. REF wrongly claims this is already on main; RPT corrects it. Every view is a pri...
Opengraph URL: https://github.com/developing-today/code/issues/545
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(ssh): use the alternate screen for raw interactive SSH sessions","articleBody":"## What and why\n\nWrap interactive sessions in `\\x1b[?1049h/l` so game repaints do not pile cleared frames into scrollback. REF wrongly claims this is already on main; RPT corrects it. Every view is a primary-screen clear and repaint, so game repaints pile cleared frames into the user's scrollback. The reference report wrongly says this is already on main.\n\n## Source\n\n- RPT §5 'Three things that get conflated'\n- RPT §5 Recommendation 1\n- RPT §11 correction 6\n- REF:168\n\nRPT = `doc/2026-10-18T18-40-00Z_report_platform_world_state/2026-10-18T18-40-00Z_report_platform_world_state.md`, REF = `doc/2026-10-18T00-00-00Z_reference_platform_state/2026-10-18T00-00-00Z_reference_platform_state.md`. Both are uncommitted reports in the `platform-world-apps-migration` worktree.\n\n## Current status\n\n**Not started.** `grep -rn '1049' pkgs/id/src` finds nothing; every view is a primary-screen clear and repaint, `\\x1b[H\\x1b[2J` (pkgs/id/src/world_presentation.rs:370, pkgs/id/src/world_ssh.rs:545/:550).\n\n## Acceptance criteria\n\n- [ ] Raw interactive sessions send `\\x1b[?1049h` on start and `\\x1b[?1049l` on every exit path (quit, disconnect, error)\n- [ ] Command (line) mode is unchanged\n- [ ] A test asserts the enter and leave sequences\n- [ ] Scrollback no longer collects cleared frames (checked by hand in a terminal)\n\n## Size\n\nS\n\n## Prerequisites\n\nNone.\n\n\u003c!-- discovery:D1-042 -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T06:07:50Z","url":"https://github.com/developing-today/code/issues/545"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f1a587c2-b240-7a02-bfef-680911d88782 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEB8:30F58B:69462C:891506:6B06255D |
| html-safe-nonce | 6d83fcc43d75ecabb06198bed15c42deeaf1b5082705793cf66558b9750d8ee6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUI4OjMwRjU4Qjo2OTQ2MkM6ODkxNTA2OjZCMDYyNTVEIiwidmlzaXRvcl9pZCI6IjM5MDg5NDU0NTEyMzEzNTYyNTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cf3d7723098c7c520ec20e993bf9091c2abbf7d73ae9f23b43b5ebc6c9ac2e7a |
| hovercard-subject-tag | issue:5974046407 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/545/issue_layout |
| twitter:image | https://opengraph.githubassets.com/460b0d846a923f55bcad3ead0138ab6b7389369c5f6d05604b48e81e6f026743/developing-today/code/issues/545 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/460b0d846a923f55bcad3ead0138ab6b7389369c5f6d05604b48e81e6f026743/developing-today/code/issues/545 |
| og:image:alt | What and why Wrap interactive sessions in \x1b[?1049h/l so game repaints do not pile cleared frames into scrollback. REF wrongly claims this is already on main; RPT corrects it. Every view is a pri... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32e57d5cc2ce6ce92ec6dceb65858344750c27c2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width