ueno / libkkc

Japanese Kana Kanji conversion input method library
GNU General Public License v3.0
106 stars 15 forks source link

Backspace doesn't work well with partial rom-kana inputs #20

Open Kyuuhachi opened 5 years ago

Kyuuhachi commented 5 years ago

I'm not sure whether to report this here or in ibus-kkc (which is the frontend I use), but as the rom-kana conversion appears to be done here, I feel this to be the most reasonable choice.

When typing k b BS, I'd expect to return to the state as if I had only written k, so that pressing a would create , or backspace would erase the k. This doesn't appear to be the case: k b BS a gives kあ, and when typing k b BS BS, the second BS appears to have no effect and I need a third BS to erase the k.

I'm aware that there's an option to remove partial inputs (so that k b is equal to just b), but I find that to be rather annoying.

Also, currently typing h y o BS erases the entire ひょ. Would it be possible to instead return to an un-kanaified hy, so that h y o BS a gives ひゃ instead of ? (Possibly as a config option or something, since some people might like the current behavior)