Skip to content

Comments

feat: add home, end, and delete cursor functionality#57

Open
BendikMann wants to merge 4 commits intofunbiscuit:masterfrom
BendikMann:master
Open

feat: add home, end, and delete cursor functionality#57
BendikMann wants to merge 4 commits intofunbiscuit:masterfrom
BendikMann:master

Conversation

@BendikMann
Copy link

This is a continuation of the pull request @gary7530 initially submitted, but did not complete the merge that @funbiscuit requested.

@gary7530's original pull request:

This commit implements support for the Home, End, and Delete keys to improve command-line navigation and editing.

Home Key: Moves the cursor to the beginning of the command line.
End Key: Moves the cursor to the end of the command line.
Delete Key: Removes the character at the current cursor position.

The changes include parsing the corresponding ANSI escape sequences in onEscapedInput within embedded_cli.c.

Please let me know if any additional changes are required.

@gary7530
Copy link

Hi @funbiscuit, since @BendikMann has already rebased the changes in #57, we can proceed with that PR instead. I'll close this one to avoid duplication. 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.

2 participants