Skip to content

Commit

Permalink
Fixed cursor moving to the wrong position when inserting text longer …
Browse files Browse the repository at this point in the history
…than 1 character. Fixes dessalines#216
  • Loading branch information
sslater11 authored and mpice-mn committed Sep 23, 2023
1 parent 1ce67e5 commit 9cd5064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/dessalines/thumbkey/utils/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fun performKeyAction(
Log.d(TAG, "committing key text: $text")
ime.currentInputConnection.commitText(
text,
text.length
1
)

if (autoCapitalize) {
Expand Down

0 comments on commit 9cd5064

Please sign in to comment.