Skip to content

fix(core): do not clone screen on every render loop of the TUI#30872

Merged
FrozenPandaz merged 1 commit intomasterfrom
cammisuli/do-not-clone-screen
Apr 25, 2025
Merged

fix(core): do not clone screen on every render loop of the TUI#30872
FrozenPandaz merged 1 commit intomasterfrom
cammisuli/do-not-clone-screen

Conversation

@Cammisuli
Copy link
Copy Markdown
Member

Current Behavior

Everytime the TUI is rendered with a terminal pane opened, we clone the screen. This cloning is resource intensive as we would be creating a new screen every couple of milliseconds.

Expected Behavior

This has changes so that we can pass a reference to the screen to be used in places where its needed. This avoids the cloning the screen.

Related Issue(s)

Fixes #

@Cammisuli Cammisuli requested review from a team as code owners April 25, 2025 15:28
@Cammisuli Cammisuli requested a review from FrozenPandaz April 25, 2025 15:28
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Apr 25, 2025 3:50pm

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Apr 25, 2025

View your CI Pipeline Execution ↗ for commit 46eed24.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-ci ✅ Succeeded 7m 18s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 21s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-04-25 17:25:32 UTC

@FrozenPandaz FrozenPandaz enabled auto-merge (squash) April 25, 2025 17:13
@FrozenPandaz FrozenPandaz merged commit 2f739e9 into master Apr 25, 2025
6 checks passed
@FrozenPandaz FrozenPandaz deleted the cammisuli/do-not-clone-screen branch April 25, 2025 17:25
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2025

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 1, 2025
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.

2 participants