Big steps
This commit is contained in:
@@ -51,8 +51,6 @@ class KeyCommandResolver (
|
||||
)),
|
||||
|
||||
onLong = HashMap(mapOf(
|
||||
Key.BACK to Command.HOME,
|
||||
|
||||
Key.N0 to Command.NUMBER,
|
||||
Key.N1 to Command.NUMBER,
|
||||
Key.N2 to Command.NUMBER,
|
||||
@@ -78,6 +76,7 @@ class KeyCommandResolver (
|
||||
)),
|
||||
|
||||
onRepeat = HashMap(mapOf(
|
||||
Key.BACK to Command.HOME,
|
||||
Key.STAR to Command.DELETE,
|
||||
))
|
||||
)
|
||||
|
||||
@@ -10,6 +10,9 @@ data class KeyEventResult(
|
||||
val candidates: List<String>? = null,
|
||||
val deleteBeforeCursor: Int = 0,
|
||||
val deleteAfterCursor: Int = 0,
|
||||
val goHome: Boolean = false,
|
||||
val left: Boolean = false,
|
||||
val right: Boolean = false
|
||||
val right: Boolean = false,
|
||||
val record: Boolean = false,
|
||||
val transcribe: Boolean = false
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user