Commit current word if we're switching modes

This commit is contained in:
Nehemiah of Zebulun 2023-12-04 05:22:04 -05:00
parent 0ec4f4b262
commit 48a9a2e822

View File

@ -158,6 +158,8 @@ class WordInputHandler(
}
private fun inputMode(key: Key) {
if (codeword.isNotEmpty()) wkt9.onCommit()
if (key == Key.B4) wkt9.onSwitchInputHandler(InputMode.Number)
else wkt9.onSwitchInputHandler(InputMode.Letter)
}