Hi! Thanks so much for the repo. I am really enjoying playing with the library.
I found that when I reached the bottom of the page, it was not automatically scrolling to the new command prompt.
How to reproduce:
Keep executing commands till you reach the bottom of the page.
I fixed it by inserting
window.scrollTo(0, document.body.scrollHeight); at the end of resetPrompt function.
If you can reproduce the bug and are happy about my fix, I would love to send you a pull request.
Thanks for reading.
Hi! Thanks so much for the repo. I am really enjoying playing with the library.
I found that when I reached the bottom of the page, it was not automatically scrolling to the new command prompt.
How to reproduce:
Keep executing commands till you reach the bottom of the page.
I fixed it by inserting
window.scrollTo(0, document.body.scrollHeight);at the end ofresetPromptfunction.If you can reproduce the bug and are happy about my fix, I would love to send you a pull request.
Thanks for reading.