mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
IME candidates separator to use \x1E instead of a comma
This commit is contained in:
@@ -3,7 +3,7 @@ package net.torvald.terrarum.gamecontroller
|
||||
import net.torvald.terrarum.App.printdbg
|
||||
import java.io.File
|
||||
|
||||
typealias IMECanditates = List<String>
|
||||
typealias IMECandidates = List<String>
|
||||
typealias IMEOutput = String
|
||||
typealias Keysyms = Array<Array<String?>>
|
||||
|
||||
@@ -22,8 +22,8 @@ data class TerrarumIME(
|
||||
val name: String,
|
||||
val config: TerrarumIMEConf,
|
||||
// (headkey, shiftin, altgrin, lowLayerKeysym)
|
||||
val acceptChar: (Int, Boolean, Boolean, String) -> Pair<IMECanditates, IMEOutput>,
|
||||
val backspace: () -> IMECanditates,
|
||||
val acceptChar: (Int, Boolean, Boolean, String) -> Pair<IMECandidates, IMEOutput>,
|
||||
val backspace: () -> IMECandidates,
|
||||
val endCompose: () -> IMEOutput,
|
||||
val reset: () -> Unit,
|
||||
val composing: () -> Boolean
|
||||
|
||||
Reference in New Issue
Block a user