Skip to content

Flush image creation message#2

Open
cenodis wants to merge 1 commit intojoaoalves03:mainfrom
cenodis:patch-1
Open

Flush image creation message#2
cenodis wants to merge 1 commit intojoaoalves03:mainfrom
cenodis:patch-1

Conversation

@cenodis
Copy link

@cenodis cenodis commented Sep 30, 2025

The print function could be line buffered in which case the "Creating final image" message may not be printed until the next newline. Since the end character is explicitly overridden this can result in the message being delayed until the next print call.
This PR fixes the issue by explicitly flushing the data ensuring the message is always visible to the user.

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