Skip to content

Simplify the custom terminal drawing API - #53156

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5889e9603d772945660e7ae35690d2b7326b10ae
Oct 11, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5889e9603d772945660e7ae35690d2b7326b10ae

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Simplify the custom terminal drawing API

What changed

Remove Terminal::autoresize and the fallible try_draw helpers. Render directly in draw_with_size, retaining automatic size updates and the existing buffer flush and cursor handling.

Update the cursor-ordering test to use draw, preserving its assertion that the cursor moves before it is shown.

## What changed

Remove `Terminal::autoresize` and the fallible `try_draw` helpers. Render directly in `draw_with_size`, retaining automatic size updates and the existing buffer flush and cursor handling.

Update the cursor-ordering test to use `draw`, preserving its assertion that the cursor moves before it is shown.

GitOrigin-RevId: 5889e9603d772945660e7ae35690d2b7326b10ae
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5889e9603d772945660e7ae35690d2b7326b10ae branch from b2271d5 to 72f999e Compare October 11, 2026 16:03
@copyberry
copyberry Bot merged commit 72f999e into main Oct 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5889e9603d772945660e7ae35690d2b7326b10ae branch October 11, 2026 16:03
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-11T16:03:32.354354Z b2271d5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot locked and limited conversation to collaborators Oct 11, 2026
@Searchmatch
Searchmatch deployed to issue-triage October 11, 2026 16:08 — with Image GitHub Actions Active
@Searchmatch
Searchmatch deployed to issue-triage October 11, 2026 16:08 — with Image GitHub Actions Active
@Searchmatch
Searchmatch deployed to issue-triage October 11, 2026 16:08 — with Image GitHub Actions Active
@ofan
ofan deployed to issue-triage October 11, 2026 16:11 — with Image GitHub Actions Active
@ofan
ofan deployed to issue-triage October 11, 2026 16:11 — with Image GitHub Actions Active
@ofan
ofan deployed to issue-triage October 11, 2026 16:11 — with Image GitHub Actions Active
@ofan
ofan deployed to issue-triage October 11, 2026 16:12 — with Image GitHub Actions Active
@ronyn77
ronyn77 deployed to issue-triage October 11, 2026 16:48 — with Image GitHub Actions Active
@ronyn77
ronyn77 deployed to issue-triage October 11, 2026 16:48 — with Image GitHub Actions Active
@ronyn77
ronyn77 deployed to issue-triage October 11, 2026 16:48 — with Image GitHub Actions Active
@ronyn77
ronyn77 deployed to issue-triage October 11, 2026 16:49 — with Image GitHub Actions Active
@yza167-jp
yza167-jp deployed to issue-triage October 11, 2026 16:55 — with Image GitHub Actions Active
@yza167-jp
yza167-jp deployed to issue-triage October 11, 2026 16:55 — with Image GitHub Actions Active
@yza167-jp
yza167-jp deployed to issue-triage October 11, 2026 16:55 — with Image GitHub Actions Active
@Tatendaz
Tatendaz deployed to issue-triage October 11, 2026 16:55 — with Image GitHub Actions Active
@Tatendaz
Tatendaz deployed to issue-triage October 11, 2026 16:55 — with Image GitHub Actions Active
@Tatendaz
Tatendaz deployed to issue-triage October 11, 2026 16:55 — with Image GitHub Actions Active
@liudesheng9
liudesheng9 deployed to issue-triage October 11, 2026 16:56 — with Image GitHub Actions Active
@liudesheng9
liudesheng9 deployed to issue-triage October 11, 2026 16:56 — with Image GitHub Actions Active
@liudesheng9
liudesheng9 deployed to issue-triage October 11, 2026 16:56 — with Image GitHub Actions Active
@Tatendaz
Tatendaz deployed to issue-triage October 11, 2026 16:56 — with Image GitHub Actions Active
@kendonB
kendonB deployed to issue-triage October 11, 2026 17:03 — with Image GitHub Actions Active
@kendonB
kendonB deployed to issue-triage October 11, 2026 17:03 — with Image GitHub Actions Active
@kendonB
kendonB deployed to issue-triage October 11, 2026 17:03 — with Image GitHub Actions Active
@kendonB
kendonB deployed to issue-triage October 11, 2026 17:04 — with Image GitHub Actions Active
@ariochspa
ariochspa deployed to issue-triage October 11, 2026 17:05 — with Image GitHub Actions Active
@ariochspa
ariochspa deployed to issue-triage October 11, 2026 17:05 — with Image GitHub Actions Active
@ariochspa
ariochspa deployed to issue-triage October 11, 2026 17:05 — with Image GitHub Actions Active
@declic87
declic87 deployed to issue-triage October 11, 2026 17:05 — with Image GitHub Actions Active
@declic87
declic87 deployed to issue-triage October 11, 2026 17:05 — with Image GitHub Actions Active
@declic87
declic87 deployed to issue-triage October 11, 2026 17:05 — with Image GitHub Actions Active
@debojit11
debojit11 deployed to issue-triage October 11, 2026 17:41 — with Image GitHub Actions Active
@debojit11
debojit11 deployed to issue-triage October 11, 2026 17:41 — with Image GitHub Actions Active
@debojit11
debojit11 deployed to issue-triage October 11, 2026 17:41 — with Image GitHub Actions Active
@debojit11
debojit11 deployed to issue-triage October 11, 2026 17:42 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.