Skip to content

patch(preprocessor): make Command::Delete more explicit#286

Merged
pythonbrad merged 3 commits into
mainfrom
better_pre
Jul 4, 2026
Merged

patch(preprocessor): make Command::Delete more explicit#286
pythonbrad merged 3 commits into
mainfrom
better_pre

Conversation

@pythonbrad

Copy link
Copy Markdown
Member

Related issues

Changes

  • Added the character to be deleted in the delete command
  • Return a delete command when receiving a backspace keyboard
  • Updated the test to match the new change

This commit facilitate the usage of the delete command for environment
where we can't easily delete a non ascii characters.
It also help the developer to what to be deleted.

As additional change, it leave the backspace operation pass through the
preprocessor when when there is not matching characters or the buffer is
empty.
@pythonbrad pythonbrad self-assigned this Jul 3, 2026
@pythonbrad

Copy link
Copy Markdown
Member Author

The pr is not yet ready, i have to update the afrim service.

@pythonbrad pythonbrad changed the title patch(preprocessor): make the Command::Delete explicit patch(preprocessor): make Command::Delete more explicit Jul 3, 2026
This commit fix the issue with the additional backspace trigger during
the usage of backspace to undo a typing.
@pythonbrad pythonbrad marked this pull request as ready for review July 4, 2026 12:23
@pythonbrad pythonbrad merged commit d3d2122 into main Jul 4, 2026
5 checks passed
@pythonbrad pythonbrad deleted the better_pre branch July 4, 2026 12:24
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