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

Bugfix write newline #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tiagolobao
Copy link

Hello!

First of all thanks for making this port to arduino! I'm using in my project that is based on avr now.

I had a problem that when I was printing new line with addch, and when I was trying to delete the previous character with delch, I had problem trying to move back to a relative position like x = x - 1. And I found out the problem that the cursor y and x was not being updated properly. (I'm making a CLI/Shell in my project)

All the functions like getnstr and editLine they just avoid the KEY_CR so I think it was not being printed at all in previous projects. And I also tried my changes with some of the examples and they seem to work just fine.

So, if you want, you can add this change to the library. Any questions / further testing just ping me
Thanks!

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.

1 participant