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

Improve console output #3

Merged
merged 2 commits into from
Jun 15, 2024
Merged

Improve console output #3

merged 2 commits into from
Jun 15, 2024

Conversation

sebsto
Copy link
Contributor

@sebsto sebsto commented Jun 15, 2024

Fix #1
The issue was that \n chars present in stdErr or stdOut are being replaced by spaces ( ) by the <p> tag.
I switched to <pre> to preserve text formatting.
I reduce line height to 1em to avoid vertical spaces between the lines.

From W3 School

Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The text will be displayed exactly as written in the HTML source code.

@sebsto sebsto assigned sebsto and MarwaneKoutar and unassigned sebsto Jun 15, 2024
@sebsto sebsto added the bug Something isn't working label Jun 15, 2024
@MarwaneKoutar MarwaneKoutar merged commit d4a2178 into main Jun 15, 2024
1 check passed
@sebsto sebsto deleted the sebsto/console_output branch June 16, 2024 19:12
sebsto pushed a commit that referenced this pull request Jun 16, 2024
Merge pull request #3 from swift-server-community/sebsto/console_output
Copy link

🎉 This PR is included in version 1.1.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the output windows for better readability
2 participants