Repository navigation
v0.1.162
Terminals get their own place in the editor model (issue #7).
Typing into Termux was broken in both of the modes it offers, and each looked like a different bug: with enforce-char-based-input on, a Korean syllable appeared only once it closed and Backspace did nothing; with it off, Backspace worked and Korean did nothing at all.
They are one shape in two disguises. A terminal is a program on the other side of a pipe, not a text box — no composing region, and no buffer for a surrounding-text delete to land in. This keyboard knew three kinds of editor and a terminal is a fourth, so all three failed it, in three separate places: composition was never rewritten into commits, the two-action rewrite of a syllable was refused outright, and a field marked private was never composed into.
Now: Korean is written as it is built in a terminal, each syllable taken back and re-sent as it grows, and every deletion is a real backspace key. That holds in both of Termux's input modes, in vim, and over ssh.
One more thing came out of it: Korean could not be typed into any password field in any app — composing was refused wherever a field was marked private. It is allowed now. A private field still means this keyboard never reads it and never remembers what was typed in it.
Not tried in Termux itself here — please say if anything is still off.
Two builds, one app: take retekey-0.1.162.apk unless your phone is older than Android 9, in which case take retekey-0.1.162-legacy.apk (Android 4.0+).