Use new line char instead of flushing the output#792
Open
rilysh wants to merge 1 commit intoSwordfish90:masterfrom
Open
Use new line char instead of flushing the output#792rilysh wants to merge 1 commit intoSwordfish90:masterfrom
rilysh wants to merge 1 commit intoSwordfish90:masterfrom
Conversation
bablat
pushed a commit
to bablat/cool-retro-term
that referenced
this pull request
Jan 10, 2026
Based on PR Swordfish90#792 by @rilysh - endl flushes after each line which is unnecessary for one-time help text output. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
b65f478 to
8cf3031
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
Instead of flushing the output every time on each line when the
--helpor--versioncommand is being invoked, it's better to use a new line character instead. Although this is just for the help command, flushing each time, is much more overhead than simply using a new line character.