Skip to content

Use new line char instead of flushing the output#792

Open
rilysh wants to merge 1 commit intoSwordfish90:masterfrom
mystuffs:master
Open

Use new line char instead of flushing the output#792
rilysh wants to merge 1 commit intoSwordfish90:masterfrom
mystuffs:master

Conversation

@rilysh
Copy link
Copy Markdown

@rilysh rilysh commented Jul 11, 2023

Hello,
Instead of flushing the output every time on each line when the --help or --version command 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.

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>
@Swordfish90 Swordfish90 force-pushed the master branch 2 times, most recently from b65f478 to 8cf3031 Compare January 19, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant