jonmbake / react-terminal-ui

A terminal react component with support for light and dark modes.
https://jonmbake.github.io/react-terminal-ui/demo/
MIT License
205 stars 30 forks source link

Adding the scrollToPosition #52

Closed tomasmalio closed 2 months ago

tomasmalio commented 2 months ago

The objective is to set an alternative attribute to go to the terminal's position. I added a new parameter to receive optionally and thus be able to set whether we want it to go to where the terminal cursor is.

FIxes: #51

tomasmalio commented 2 months ago

Thank you for taking the time to submit a Pull Request! Please ensure the pull request is linked to an issue by using the commit format Fixes <Issue #> - .

Done #51

tomasmalio commented 2 months ago

@jonmbake, thanks for approving the PR.

I'm trying to understand why it is not working when you update the package in React JS. I don't know if anyone has the same problem :(