Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: WithoutEmptyRenders #796

Closed
wants to merge 1 commit into from
Closed

feat: WithoutEmptyRenders #796

wants to merge 1 commit into from

Conversation

caarlos0
Copy link
Member

@caarlos0 caarlos0 commented Aug 9, 2023

experimental

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 added the enhancement New feature or request label Aug 9, 2023
@caarlos0 caarlos0 self-assigned this Aug 9, 2023
@@ -166,6 +166,16 @@ func WithANSICompressor() ProgramOption {
}
}

// WithoutEmptyRenders makes bubbletea do nothing when the View method return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible typo 😊

Suggested change
// WithoutEmptyRenders makes bubbletea do nothing when the View method return
// WithoutEmptyRenders makes bubbletea do nothing when the View method returns

@@ -65,7 +65,6 @@ func TestOptions(t *testing.T) {
var b bytes.Buffer
exercise(t, WithInput(&b), customInput)
})

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: change does not seem to be directly related, perhaps it was committed accidentally?

@caarlos0
Copy link
Member Author

caarlos0 commented Nov 7, 2023

ended up not needing this... would it be useful to anyone? otherwise I'll close the PR.

@meowgorithm
Copy link
Member

I think no need at the moment. Worst case we have the history here and we can re-open (or re-implement) if we need it.

@caarlos0 caarlos0 closed this Nov 8, 2023
@caarlos0 caarlos0 deleted the empty-renders branch November 8, 2023 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants