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

logger-hotfix #92

Merged
merged 3 commits into from
May 12, 2024
Merged

logger-hotfix #92

merged 3 commits into from
May 12, 2024

Conversation

AnauNaga
Copy link
Contributor

@AnauNaga AnauNaga commented May 12, 2024

context
In order to keep the commands on a separate line from the logs (so they aren't writing on top of each other), it has to erase an entire line which is done by replacing the entire line with spaces. In some cases the console will send the cursor to a new line when the current line is filled up (in this case filled with spaces). This ends up moving the current command down a line every time the user types something.

solution
This fix sets the space count to the entire width minus 1 to stop the console from moving to the next line when a line is filled up.

@Byte-Nova
Copy link
Owner

Is this a fix for issue #85? If it's the case we will need someone to test it with a Linux distro.

@Byte-Nova Byte-Nova added the needs: help This issue or pull request needs help label May 12, 2024
@AnauNaga
Copy link
Contributor Author

Yeah, I didn't see that issue. this is a fix for issue #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: help This issue or pull request needs help
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants