这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@asahasrabuddhe
Copy link
Collaborator

Hello @gosuri ,

In this PR, I have fixed the following features:

#3 - I have added code for the library to be able to detect the width of the terminal and adjust the writing accordingly so the last line is not overwritten
#4 - I have managed to fix this in part due to #3 above and also using strings.Repeat() instead of a loop.
#11 - I have updated the clearline function to move the cursor up and then clear the line. This has fixed the issue.

Reading #14 and the writer.Bypass(), I got inspired to implement the writer.Newline() feature that now allows us to write to multiple lines simultaneously. Result is something like this:

render1554955255840-min

Please review and let me know if any further edits are required. I want to help get this library up and running once again. I would readily make the fixes and push the updates.

Regards,
Ajitem

@gosuri
Copy link
Owner

gosuri commented Apr 11, 2019

This is great @asahasrabuddhe! Merging it!

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.

2 participants