Describe the bug
In fcitx, we have been using following function to reset chewing into an empty state. (Not sure why I'm not using chewing_Reset, maybe because it was not originally available?....I'll update fcitx to use it anyway. )
chewing_cand_close(ctx);
chewing_clean_preedit_buf(ctx);
chewing_clean_bopomofo_buf(ctx);
But now it seems to can't clear when there's both preedit & bopomofo
To Reproduce
Steps to reproduce the behavior:
z p space z, and run the code above.
Expected behavior
nothing left in chewing context.
Platform (please complete the following information):
- OS: Arch
- IME: fcitx5-chewing
- Version 0.9.1
Additional context
Add any other context about the problem here.
**Describe the bug**
In fcitx, we have been using following function to reset chewing into an empty state. (Not sure why I'm not using chewing_Reset, maybe because it was not originally available?....I'll update fcitx to use it anyway. )
```
chewing_cand_close(ctx);
chewing_clean_preedit_buf(ctx);
chewing_clean_bopomofo_buf(ctx);
```
But now it seems to can't clear when there's both preedit & bopomofo
**To Reproduce**
Steps to reproduce the behavior:
z p space z, and run the code above.
**Expected behavior**
nothing left in chewing context.
**Platform (please complete the following information):**
- OS: Arch
- IME: fcitx5-chewing
- Version 0.9.1
**Additional context**
Add any other context about the problem here.