Skip to content

Conversation

alhirzel
Copy link

@alhirzel alhirzel commented Apr 2, 2018

I wrote up a quick ANSI parser that works via serial. It is useful to accept basic commands and saves having to parse the backspace/delete keys and the arrow keys. Future extension is likely depending on community feedback.

Two problems, I use fixed-length buffers and everything is on the stack. Would appreciate guidelines on how to better structure this. Also, one day it would be good to parse hotkeys (such as function keys); handling these would require two callbacks. I could use community feedback on this as well.

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