-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
fix: print error message when terminal size is less the number of lines #28
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I had some comments.
Also, I was concerned about another thing. The size could be restricted by width too - some tiling WMs can make windows be very long and thin. We should also check to see if the longest line fits on the terminal.
Also, could you link the issue by adding "Fixes #19" in your PR's description? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good!
I had a few minor suggestions and a comment though.
i pushed a new commit with all the changes, do take a final look at it. also i appreciate you being patient and guiding me on writing rust for the first time. thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
The formatting step is failing. Could you run |
done @Samyak2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more thing. Sorry for requesting so many changes xD, but I want to get this right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thank you for contributing and for your patience! 🎉
fixes #19
this is my first time writing rust code, so please let me know if there is a better way of doing this.