We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0524a7b commit ac7ef55Copy full SHA for ac7ef55
app/src/main/java/com/osfans/trime/ime/keyboard/CommonKeyboardActionListener.kt
@@ -334,11 +334,7 @@ class CommonKeyboardActionListener(
334
// FIXME: rime will not handle the key sequence when
335
// ascii_mode is on, there may be a better solution
336
// for this.
337
- if (Rime.isAsciiMode) {
338
- if (Rime.simulateKeySequence(slice)) {
339
- service.commitText(slice)
340
- }
341
- } else {
+ if (Rime.isAsciiMode || !Rime.simulateKeySequence(slice)) {
342
service.commitText(slice)
343
}
344
0 commit comments