Skip to content

Commit

Permalink
Fix silly mistake causing all-caps when calling Keyboard.write().
Browse files Browse the repository at this point in the history
  • Loading branch information
Animeshz committed Jan 18, 2021
1 parent 085e8c8 commit 5375177
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

allprojects {
this.group = "com.github.animeshz"
this.version = "0.2.2"
this.version = "0.2.3"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import kotlinx.coroutines.flow.toList
import kotlinx.coroutines.launch
import kotlinx.coroutines.suspendCancellableCoroutine
import kotlin.coroutines.CoroutineContext
import kotlin.coroutines.EmptyCoroutineContext
import kotlin.coroutines.resume
import kotlin.time.Duration
import kotlin.time.ExperimentalTime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public enum class Key(public val keyCode: Int) {
val c = char.toUpperCase()
val values = values()
for (i in alphabetOrdinalRange) {
if (values[i].name.length == 1 && values[i].name[0] == c) return values[i] to true
if (values[i].name.length == 1 && values[i].name[0] == c) return values[i] to false
}
}
}
Expand Down

0 comments on commit 5375177

Please sign in to comment.