Caller's control over the rendering #28

Open
opened 2025-10-14 15:43:39 -06:00 by navan · 0 comments
Owner

Originally created by @pepicrft on 12/1/2023

Hi 👋
First of all, thanks a lot for building this Swift Package. It's such a fundamental piece for building more powerful terminal experiences.
We'd like to start using the SwiftUI-like for some Tuist components, but I noticed the design assumes that they'll be used in an app that takes control of the terminal window. Have you thought about giving control to the caller to render one-off component, for example, a status bar. I'd like to render it, update the state from the outside, and let the render auto-update when the state changes. When the state reaches 100%, I'd like then to continue the execution and have the standard pipelines control back.

Is this something that aligns with the plans for the package? If so, I'd be happy to make contributions with some guidelines.

Thanks once again.

*Originally created by @pepicrft on 12/1/2023* Hi 👋 First of all, thanks a lot for building this Swift Package. It's such a fundamental piece for building more powerful terminal experiences. We'd like to start using the SwiftUI-like for some Tuist components, but I noticed the design assumes that they'll be used in an app that takes control of the terminal window. Have you thought about giving control to the caller to render one-off component, for example, a status bar. I'd like to render it, update the state from the outside, and let the render auto-update when the state changes. When the state reaches 100%, I'd like then to continue the execution and have the standard pipelines control back. Is this something that aligns with the plans for the package? If so, I'd be happy to make contributions with some guidelines. Thanks once again.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/SwiftTUI#28
No description provided.