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

New undo/redo system #66

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

New undo/redo system #66

wants to merge 2 commits into from

Conversation

lmg-anon
Copy link
Owner

@lmg-anon lmg-anon commented May 23, 2024

Fixes #27

This adds a new undo/redo system that allows for undoing predictions as well as text changes made by the user, all while being aware of prompt chunks. To be honest, I don't like having to reinvent the wheel, because I bet my implementation will be worse than what is done by the browser, but I don't have any clue on how I could leverage the browser undo to achieve a result like this. I guess it's just impossible.

@lmg-anon lmg-anon marked this pull request as draft May 23, 2024 22:37
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.

[Feature Request] Better undo/redo
1 participant