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

Add an API for IME to signal they have handled output #500

Open
kanru opened this issue Apr 26, 2024 · 0 comments
Open

Add an API for IME to signal they have handled output #500

kanru opened this issue Apr 26, 2024 · 0 comments
Labels
Milestone

Comments

@kanru
Copy link
Member

kanru commented Apr 26, 2024

Is your feature request related to a problem? Please describe.

Currently APIs like chewing_buffer_String() and chewing_commit_String() will return the same data every time until next keystroke. To avoid output string repeatedly or display stale data IMEs have to remember that there was no new input.

Describe the solution you'd like

Provide an API to mark commit string handled to clear commit buffer

Describe alternatives you've considered

Automatically clear commit buffer after read. This is a breaking change.

Additional context

https://github.com/chewing/ibus-chewing/blob/fdd08f4f79f38e3f4c1957926f4f174dae8692e3/src/IBusChewingPreEdit.c#L69-L72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant