string rewriting IME wip

This commit is contained in:
minjaesong
2021-11-12 14:42:18 +09:00
parent 59b7126254
commit 092d95a5a3
7 changed files with 604 additions and 25 deletions

View File

@@ -369,7 +369,7 @@ let bufAssemble = (isPreview) => {
return states.buf.join('')
}
let bufDebugStringify = (buf) => [0,1,2].map(i => (buf[i] == undefined) ? "·" : `\\u${buf[i].codePointAt(0).toString(16).toUpperCase()}`).join(' ')
return Object.freeze({"n":"세벌식 3-90","v":"one","c":"CuriousTo\uA75Bvald",
return Object.freeze({"n":"세벌식 3-90","v":"one","c":"CuriousTo\uA75Bvald","m":"candidates",
"t":states.keylayouts.map(it => [it[0],it[1]]),
// return: [displayed output, composed output]
"accept":(headkey,shiftin,altgrin)=>{